Interface OpenSearchDataSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OpenSearchDataSource.Builder,OpenSearchDataSource>,SdkBuilder<OpenSearchDataSource.Builder,OpenSearchDataSource>,SdkPojo
- Enclosing class:
- OpenSearchDataSource
public static interface OpenSearchDataSource.Builder extends SdkPojo, CopyableBuilder<OpenSearchDataSource.Builder,OpenSearchDataSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OpenSearchDataSource.BuilderdataSourceName(String dataSourceName)The name of the OpenSearch Service data source.default OpenSearchDataSource.Builderstatus(Consumer<OpenSearchResourceStatus.Builder> status)This structure contains information about the status of this OpenSearch Service resource.OpenSearchDataSource.Builderstatus(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 Detail
-
dataSourceName
OpenSearchDataSource.Builder dataSourceName(String 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
OpenSearchDataSource.Builder status(OpenSearchResourceStatus 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
default OpenSearchDataSource.Builder status(Consumer<OpenSearchResourceStatus.Builder> status)
This structure contains information about the status of this OpenSearch Service resource.
This is a convenience method that creates an instance of theOpenSearchResourceStatus.Builderavoiding the need to create one manually viaOpenSearchResourceStatus.builder().When the
Consumercompletes,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:
status(OpenSearchResourceStatus)
-
-