public static interface CreateCollectionRequest.Builder extends OpenSearchServerlessRequest.Builder, SdkPojo, CopyableBuilder<CreateCollectionRequest.Builder,CreateCollectionRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateCollectionRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
|
CreateCollectionRequest.Builder |
description(String description)
Description of the collection.
|
CreateCollectionRequest.Builder |
name(String name)
Name of the collection.
|
CreateCollectionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateCollectionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateCollectionRequest.Builder |
tags(Collection<Tag> tags)
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.
|
CreateCollectionRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.
|
CreateCollectionRequest.Builder |
tags(Tag... tags)
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.
|
CreateCollectionRequest.Builder |
type(CollectionType type)
The type of collection.
|
CreateCollectionRequest.Builder |
type(String type)
The type of collection.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateCollectionRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.CreateCollectionRequest.Builder description(String description)
Description of the collection.
description - Description of the collection.CreateCollectionRequest.Builder name(String name)
Name of the collection.
name - Name of the collection.CreateCollectionRequest.Builder tags(Collection<Tag> tags)
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.
tags - An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.CreateCollectionRequest.Builder tags(Tag... tags)
An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.
tags - An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.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.Builder avoiding the need to create
one manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateCollectionRequest.Builder type(String type)
The type of collection.
type - The type of collection.CollectionType,
CollectionTypeCreateCollectionRequest.Builder type(CollectionType type)
The type of collection.
type - The type of collection.CollectionType,
CollectionTypeCreateCollectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateCollectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.