Interface CreateCollectionDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CreateCollectionDetail.Builder,,CreateCollectionDetail> SdkBuilder<CreateCollectionDetail.Builder,,CreateCollectionDetail> SdkPojo
- Enclosing class:
CreateCollectionDetail
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the collection.createdDate(Long createdDate) The Epoch time when the collection was created.description(String description) A description of the collection.The unique identifier of the collection.The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.lastModifiedDate(Long lastModifiedDate) The date and time when the collection was last modified.The name of the collection.standbyReplicas(String standbyReplicas) Creates details about an OpenSearch Serverless collection.standbyReplicas(StandbyReplicas standbyReplicas) Creates details about an OpenSearch Serverless collection.The current status of the collection.status(CollectionStatus status) The current status of the collection.The type of collection.type(CollectionType type) The type of collection.default CreateCollectionDetail.BuildervectorOptions(Consumer<VectorOptions.Builder> vectorOptions) Configuration options for vector search capabilities in the collection.vectorOptions(VectorOptions vectorOptions) Configuration options for vector search capabilities in the collection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier of the collection.
- Parameters:
id- The unique identifier of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the collection.
- Parameters:
name- The name of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the collection.
- Parameters:
status- The current status of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the collection.
- Parameters:
status- The current status of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of collection.
- Parameters:
type- The type of collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of collection.
- Parameters:
type- The type of collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the collection.
- Parameters:
description- A description of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the collection.
- Parameters:
arn- The Amazon Resource Name (ARN) of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.
- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standbyReplicas
Creates details about an OpenSearch Serverless collection.
- Parameters:
standbyReplicas- Creates details about an OpenSearch Serverless collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
standbyReplicas
Creates details about an OpenSearch Serverless collection.
- Parameters:
standbyReplicas- Creates details about an OpenSearch Serverless collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vectorOptions
Configuration options for vector search capabilities in the collection.
- Parameters:
vectorOptions- Configuration options for vector search capabilities in the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorOptions
Configuration options for vector search capabilities in the collection.
This is a convenience method that creates an instance of theVectorOptions.Builderavoiding the need to create one manually viaVectorOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovectorOptions(VectorOptions).- Parameters:
vectorOptions- a consumer that will call methods onVectorOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdDate
The Epoch time when the collection was created.
- Parameters:
createdDate- The Epoch time when the collection was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
The date and time when the collection was last modified.
- Parameters:
lastModifiedDate- The date and time when the collection was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-