Class CfnCollectionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.opensearchserverless.CfnCollectionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollectionPropsMixin>
- Enclosing class:
CfnCollectionPropsMixin
@Stability(Stable)
public static final class CfnCollectionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCollectionPropsMixin>
A fluent builder for
CfnCollectionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()collectionGroupName(String collectionGroupName) The name of the collection group to associate with the collection.create()create(CfnPropertyMixinOptions options) description(String description) A description of the collection.encryptionConfig(CfnCollectionPropsMixin.EncryptionConfigProperty encryptionConfig) Encryption settings for the collection.encryptionConfig(IResolvable encryptionConfig) Encryption settings for the collection.The name of the collection.standbyReplicas(String standbyReplicas) Indicates whether to use standby replicas for the collection.An arbitrary set of tags (key–value pairs) to associate with the collection.The type of collection.
-
Method Details
-
create
@Stability(Stable) public static CfnCollectionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCollectionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCollectionPropsMixin.Builder.
-
collectionGroupName
@Stability(Stable) public CfnCollectionPropsMixin.Builder collectionGroupName(String collectionGroupName) The name of the collection group to associate with the collection.- Parameters:
collectionGroupName- The name of the collection group to associate with the collection. This parameter is required.- Returns:
this- See Also:
-
description
A description of the collection.- Parameters:
description- A description of the collection. This parameter is required.- Returns:
this- See Also:
-
encryptionConfig
@Stability(Stable) public CfnCollectionPropsMixin.Builder encryptionConfig(IResolvable encryptionConfig) Encryption settings for the collection.- Parameters:
encryptionConfig- Encryption settings for the collection. This parameter is required.- Returns:
this- See Also:
-
encryptionConfig
@Stability(Stable) public CfnCollectionPropsMixin.Builder encryptionConfig(CfnCollectionPropsMixin.EncryptionConfigProperty encryptionConfig) Encryption settings for the collection.- Parameters:
encryptionConfig- Encryption settings for the collection. This parameter is required.- Returns:
this- See Also:
-
name
The name of the collection.Collection names must meet the following criteria:
- Starts with a lowercase letter
- Unique to your account and AWS Region
- Contains between 3 and 28 characters
- Contains only lowercase letters a-z, the numbers 0-9, and the hyphen (-)
- Parameters:
name- The name of the collection. This parameter is required.- Returns:
this- See Also:
-
standbyReplicas
Indicates whether to use standby replicas for the collection.You can't update this property after the collection is already created. If you attempt to modify this property, the collection continues to use the original value.
- Parameters:
standbyReplicas- Indicates whether to use standby replicas for the collection. This parameter is required.- Returns:
this- See Also:
-
tags
An arbitrary set of tags (key–value pairs) to associate with the collection.For more information, see Tag .
- Parameters:
tags- An arbitrary set of tags (key–value pairs) to associate with the collection. This parameter is required.- Returns:
this- See Also:
-
type
The type of collection.Possible values are
SEARCH,TIMESERIES, andVECTORSEARCH. For more information, see Choosing a collection type .- Parameters:
type- The type of collection. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCollectionPropsMixin>- Returns:
- a newly built instance of
CfnCollectionPropsMixin.
-