Interface OpenSearchDataSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OpenSearchDataSource.Builder,
,OpenSearchDataSource> SdkBuilder<OpenSearchDataSource.Builder,
,OpenSearchDataSource> SdkPojo
- Enclosing class:
OpenSearchDataSource
@Mutable
@NotThreadSafe
public static interface OpenSearchDataSource.Builder
extends SdkPojo, CopyableBuilder<OpenSearchDataSource.Builder,OpenSearchDataSource>
-
Method Summary
Modifier and TypeMethodDescriptiondataSourceName
(String dataSourceName) The name of the OpenSearch Service data source.default OpenSearchDataSource.Builder
This structure contains information about the status of this OpenSearch Service resource.status
(OpenSearchResourceStatus status) This structure contains information about the status of this OpenSearch Service resource.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 Details
-
dataSourceName
The name of the OpenSearch Service data source.
- Parameters:
dataSourceName
- The name of the OpenSearch Service data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
This structure contains information about the status of this OpenSearch Service resource.
- Parameters:
status
- This structure contains information about the status of this OpenSearch Service resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
This structure contains information about the status of this OpenSearch Service resource.
This is a convenience method that creates an instance of theOpenSearchResourceStatus.Builder
avoiding the need to create one manually viaOpenSearchResourceStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(OpenSearchResourceStatus)
.- Parameters:
status
- a consumer that will call methods onOpenSearchResourceStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-