Interface CreateCollectionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCollectionRequest.Builder,CreateCollectionRequest>,OpenSearchServerlessRequest.Builder,SdkBuilder<CreateCollectionRequest.Builder,CreateCollectionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCollectionRequest
public static interface CreateCollectionRequest.Builder extends OpenSearchServerlessRequest.Builder, SdkPojo, CopyableBuilder<CreateCollectionRequest.Builder,CreateCollectionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCollectionRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier to ensure idempotency of the request.CreateCollectionRequest.Builderdescription(String description)Description of the collection.CreateCollectionRequest.Buildername(String name)Name of the collection.CreateCollectionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCollectionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCollectionRequest.BuilderstandbyReplicas(String standbyReplicas)Indicates whether standby replicas should be used for a collection.CreateCollectionRequest.BuilderstandbyReplicas(StandbyReplicas standbyReplicas)Indicates whether standby replicas should be used for a collection.CreateCollectionRequest.Buildertags(Collection<Tag> tags)An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.CreateCollectionRequest.Buildertags(Consumer<Tag.Builder>... tags)An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.CreateCollectionRequest.Buildertags(Tag... tags)An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.CreateCollectionRequest.Buildertype(String type)The type of collection.CreateCollectionRequest.Buildertype(CollectionType type)The type of collection.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessRequest.Builder
build
-
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
-
clientToken
CreateCollectionRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
- Parameters:
clientToken- Unique, case-sensitive identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateCollectionRequest.Builder description(String description)
Description of the collection.
- Parameters:
description- Description of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateCollectionRequest.Builder name(String name)
Name of the collection.
- Parameters:
name- Name of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standbyReplicas
CreateCollectionRequest.Builder standbyReplicas(String standbyReplicas)
Indicates whether standby replicas should be used for a collection.
- Parameters:
standbyReplicas- Indicates whether standby replicas should be used for a collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StandbyReplicas,StandbyReplicas
-
standbyReplicas
CreateCollectionRequest.Builder standbyReplicas(StandbyReplicas standbyReplicas)
Indicates whether standby replicas should be used for a collection.
- Parameters:
standbyReplicas- Indicates whether standby replicas should be used for a collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StandbyReplicas,StandbyReplicas
-
tags
CreateCollectionRequest.Builder tags(Collection<Tag> tags)
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.
- Parameters:
tags- An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCollectionRequest.Builder tags(Tag... tags)
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.
- Parameters:
tags- An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCollectionRequest.Builder tags(Consumer<Tag.Builder>... tags)
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- 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:
#tags(java.util.Collection)
-
type
CreateCollectionRequest.Builder type(String 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:
CollectionType,CollectionType
-
type
CreateCollectionRequest.Builder type(CollectionType 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:
CollectionType,CollectionType
-
overrideConfiguration
CreateCollectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCollectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-