Interface DirectQueryDataSource.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DirectQueryDataSource.Builder,DirectQueryDataSource>
,SdkBuilder<DirectQueryDataSource.Builder,DirectQueryDataSource>
,SdkPojo
- Enclosing class:
- DirectQueryDataSource
public static interface DirectQueryDataSource.Builder extends SdkPojo, CopyableBuilder<DirectQueryDataSource.Builder,DirectQueryDataSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DirectQueryDataSource.Builder
dataSourceArn(String dataSourceArn)
The unique, system-generated identifier that represents the data source.DirectQueryDataSource.Builder
dataSourceName(String dataSourceName)
A unique, user-defined label to identify the data source within your OpenSearch Service environment.default DirectQueryDataSource.Builder
dataSourceType(Consumer<DirectQueryDataSourceType.Builder> dataSourceType)
The supported Amazon Web Services service that is used as the source for direct queries in OpenSearch Service.DirectQueryDataSource.Builder
dataSourceType(DirectQueryDataSourceType dataSourceType)
The supported Amazon Web Services service that is used as the source for direct queries in OpenSearch Service.DirectQueryDataSource.Builder
description(String description)
A description that provides additional context and details about the data source.DirectQueryDataSource.Builder
openSearchArns(String... openSearchArns)
A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.DirectQueryDataSource.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.DirectQueryDataSource.Builder
tagList(Collection<Tag> tagList)
A list of tags attached to a direct query data source.DirectQueryDataSource.Builder
tagList(Consumer<Tag.Builder>... tagList)
A list of tags attached to a direct query data source.DirectQueryDataSource.Builder
tagList(Tag... tagList)
A list of tags attached to a direct query data source.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dataSourceName
DirectQueryDataSource.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
DirectQueryDataSource.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 DirectQueryDataSource.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.Builder
avoiding the need to create one manually viaDirectQueryDataSourceType.builder()
.When the
Consumer
completes,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
DirectQueryDataSource.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
DirectQueryDataSource.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
DirectQueryDataSource.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.
-
dataSourceArn
DirectQueryDataSource.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.
-
tagList
DirectQueryDataSource.Builder tagList(Collection<Tag> tagList)
A list of tags attached to a direct query data source.
- Parameters:
tagList
- A list of tags attached to a direct query data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
DirectQueryDataSource.Builder tagList(Tag... tagList)
A list of tags attached to a direct query data source.
- Parameters:
tagList
- A list of tags attached to a direct query data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
DirectQueryDataSource.Builder tagList(Consumer<Tag.Builder>... tagList)
A list of tags attached to a direct query data source.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tagList(List
.) - Parameters:
tagList
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagList(java.util.Collection
)
-
-