Interface OpenSearchCollection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OpenSearchCollection.Builder,
,OpenSearchCollection> SdkBuilder<OpenSearchCollection.Builder,
,OpenSearchCollection> SdkPojo
- Enclosing class:
OpenSearchCollection
@Mutable
@NotThreadSafe
public static interface OpenSearchCollection.Builder
extends SdkPojo, CopyableBuilder<OpenSearchCollection.Builder,OpenSearchCollection>
-
Method Summary
Modifier and TypeMethodDescriptioncollectionArn
(String collectionArn) The ARN of the collection.collectionEndpoint
(String collectionEndpoint) The endpoint of the collection.default OpenSearchCollection.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
-
collectionEndpoint
The endpoint of the collection.
- Parameters:
collectionEndpoint
- The endpoint of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectionArn
The ARN of the collection.
- Parameters:
collectionArn
- The ARN of the collection.- 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:
-