Interface GetDirectQueryDataSourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDirectQueryDataSourceResponse.Builder,GetDirectQueryDataSourceResponse>,OpenSearchResponse.Builder,SdkBuilder<GetDirectQueryDataSourceResponse.Builder,GetDirectQueryDataSourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDirectQueryDataSourceResponse
@Mutable @NotThreadSafe public static interface GetDirectQueryDataSourceResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<GetDirectQueryDataSourceResponse.Builder,GetDirectQueryDataSourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetDirectQueryDataSourceResponse.BuilderdataSourceAccessPolicy(String dataSourceAccessPolicy)The IAM access policy document that defines the permissions for accessing the direct query data source.GetDirectQueryDataSourceResponse.BuilderdataSourceArn(String dataSourceArn)The unique, system-generated identifier that represents the data source.GetDirectQueryDataSourceResponse.BuilderdataSourceName(String dataSourceName)A unique, user-defined label to identify the data source within your OpenSearch Service environment.default GetDirectQueryDataSourceResponse.BuilderdataSourceType(Consumer<DirectQueryDataSourceType.Builder> dataSourceType)The supported Amazon Web Services service that is used as the source for direct queries in OpenSearch Service.GetDirectQueryDataSourceResponse.BuilderdataSourceType(DirectQueryDataSourceType dataSourceType)The supported Amazon Web Services service that is used as the source for direct queries in OpenSearch Service.GetDirectQueryDataSourceResponse.Builderdescription(String description)A description that provides additional context and details about the data source.GetDirectQueryDataSourceResponse.BuilderopenSearchArns(String... openSearchArns)A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.GetDirectQueryDataSourceResponse.BuilderopenSearchArns(Collection<String> openSearchArns)A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
dataSourceName
GetDirectQueryDataSourceResponse.Builder dataSourceName(String dataSourceName)
A unique, user-defined label to identify the data source within your OpenSearch Service environment.
- Parameters:
dataSourceName- A unique, user-defined label to identify the data source within your OpenSearch Service environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceType
GetDirectQueryDataSourceResponse.Builder dataSourceType(DirectQueryDataSourceType dataSourceType)
The supported Amazon Web Services service that is used as the source for direct queries in OpenSearch Service.
- Parameters:
dataSourceType- The supported Amazon Web Services service that is used as the source for direct queries in OpenSearch Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceType
default GetDirectQueryDataSourceResponse.Builder dataSourceType(Consumer<DirectQueryDataSourceType.Builder> dataSourceType)
The supported Amazon Web Services service that is used as the source for direct queries in OpenSearch Service.
This is a convenience method that creates an instance of theDirectQueryDataSourceType.Builderavoiding the need to create one manually viaDirectQueryDataSourceType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSourceType(DirectQueryDataSourceType).- Parameters:
dataSourceType- a consumer that will call methods onDirectQueryDataSourceType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataSourceType(DirectQueryDataSourceType)
-
description
GetDirectQueryDataSourceResponse.Builder description(String description)
A description that provides additional context and details about the data source.
- Parameters:
description- A description that provides additional context and details about the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openSearchArns
GetDirectQueryDataSourceResponse.Builder openSearchArns(Collection<String> openSearchArns)
A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.
- Parameters:
openSearchArns- A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openSearchArns
GetDirectQueryDataSourceResponse.Builder openSearchArns(String... openSearchArns)
A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.
- Parameters:
openSearchArns- A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceAccessPolicy
GetDirectQueryDataSourceResponse.Builder dataSourceAccessPolicy(String dataSourceAccessPolicy)
The IAM access policy document that defines the permissions for accessing the direct query data source. Returns the current policy configuration in JSON format, or null if no custom policy is configured.
- Parameters:
dataSourceAccessPolicy- The IAM access policy document that defines the permissions for accessing the direct query data source. Returns the current policy configuration in JSON format, or null if no custom policy is configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceArn
GetDirectQueryDataSourceResponse.Builder dataSourceArn(String dataSourceArn)
The unique, system-generated identifier that represents the data source.
- Parameters:
dataSourceArn- The unique, system-generated identifier that represents the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-