Interface CreateCollectionGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCollectionGroupRequest.Builder,,CreateCollectionGroupRequest> OpenSearchServerlessRequest.Builder,SdkBuilder<CreateCollectionGroupRequest.Builder,,CreateCollectionGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCollectionGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptioncapacityLimits(Consumer<CollectionGroupCapacityLimits.Builder> capacityLimits) The capacity limits for the collection group, in OpenSearch Compute Units (OCUs).capacityLimits(CollectionGroupCapacityLimits capacityLimits) The capacity limits for the collection group, in OpenSearch Compute Units (OCUs).clientToken(String clientToken) Unique, case-sensitive identifier to ensure idempotency of the request.description(String description) A description of the collection group.The name of the collection group.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.standbyReplicas(String standbyReplicas) Indicates whether standby replicas should be used for a collection group.standbyReplicas(StandbyReplicas standbyReplicas) Indicates whether standby replicas should be used for a collection group.tags(Collection<Tag> tags) An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection group.tags(Consumer<Tag.Builder>... tags) An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection group.An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection group.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearchserverless.model.OpenSearchServerlessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the collection group.
- Parameters:
name- The name of the collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standbyReplicas
Indicates whether standby replicas should be used for a collection group.
- Parameters:
standbyReplicas- Indicates whether standby replicas should be used for a collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
standbyReplicas
Indicates whether standby replicas should be used for a collection group.
- Parameters:
standbyReplicas- Indicates whether standby replicas should be used for a collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the collection group.
- Parameters:
description- A description of the collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection group.
- Parameters:
tags- An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection group.
- Parameters:
tags- An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection group.
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 totags(List<Tag>).- 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:
-
capacityLimits
The capacity limits for the collection group, in OpenSearch Compute Units (OCUs). These limits control the maximum and minimum capacity for collections within the group.
- Parameters:
capacityLimits- The capacity limits for the collection group, in OpenSearch Compute Units (OCUs). These limits control the maximum and minimum capacity for collections within the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityLimits
default CreateCollectionGroupRequest.Builder capacityLimits(Consumer<CollectionGroupCapacityLimits.Builder> capacityLimits) The capacity limits for the collection group, in OpenSearch Compute Units (OCUs). These limits control the maximum and minimum capacity for collections within the group.
This is a convenience method that creates an instance of theCollectionGroupCapacityLimits.Builderavoiding the need to create one manually viaCollectionGroupCapacityLimits.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityLimits(CollectionGroupCapacityLimits).- Parameters:
capacityLimits- a consumer that will call methods onCollectionGroupCapacityLimits.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
overrideConfiguration
CreateCollectionGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCollectionGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-