Interface MemberClusterProvisioningConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MemberClusterProvisioningConfiguration.Builder,,MemberClusterProvisioningConfiguration> SdkBuilder<MemberClusterProvisioningConfiguration.Builder,,MemberClusterProvisioningConfiguration> SdkPojo
- Enclosing class:
MemberClusterProvisioningConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncopyTagsToSnapshot(Boolean copyTagsToSnapshot) Specifies whether to copy all tags from the DB cluster to snapshots of the DB cluster.dbSubnetGroupName(String dbSubnetGroupName) The name of the DB subnet group to use for the DB cluster.deletionProtection(Boolean deletionProtection) Specifies whether the DB cluster has deletion protection enabled.engineLifecycleSupport(String engineLifecycleSupport) The life cycle type for the DB cluster.The Amazon Web Services KMS key identifier to use to encrypt the DB cluster.tags(Collection<Tag> tags) Tags to assign to the DB cluster.tags(Consumer<Tag.Builder>... tags) Tags to assign to the DB cluster.Tags to assign to the DB cluster.tagSpecifications(Collection<TagSpecification> tagSpecifications) Tags to assign to resources associated with the DB cluster.tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) Tags to assign to resources associated with the DB cluster.tagSpecifications(TagSpecification... tagSpecifications) Tags to assign to resources associated with the DB cluster.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
-
copyTagsToSnapshot
Specifies whether to copy all tags from the DB cluster to snapshots of the DB cluster.
Default:
false- Parameters:
copyTagsToSnapshot- Specifies whether to copy all tags from the DB cluster to snapshots of the DB cluster.Default:
false- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSubnetGroupName
The name of the DB subnet group to use for the DB cluster.
Constraints: If supplied, must match the name of an existing DB subnet group.
Example:
mydbsubnetgroup- Parameters:
dbSubnetGroupName- The name of the DB subnet group to use for the DB cluster.Constraints: If supplied, must match the name of an existing DB subnet group.
Example:
mydbsubnetgroup- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
Specifies whether the DB cluster has deletion protection enabled. The DB cluster can't be deleted when deletion protection is enabled.
Default:
false- Parameters:
deletionProtection- Specifies whether the DB cluster has deletion protection enabled. The DB cluster can't be deleted when deletion protection is enabled.Default:
false- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineLifecycleSupport
MemberClusterProvisioningConfiguration.Builder engineLifecycleSupport(String engineLifecycleSupport) The life cycle type for the DB cluster.
Valid Values:
-
open-source-rds-extended-support- The DB cluster is enrolled in Amazon RDS Extended Support. -
open-source-rds-extended-support-disabled- The DB cluster isn't enrolled in Amazon RDS Extended Support.
Default:
open-source-rds-extended-support- Parameters:
engineLifecycleSupport- The life cycle type for the DB cluster.Valid Values:
-
open-source-rds-extended-support- The DB cluster is enrolled in Amazon RDS Extended Support. -
open-source-rds-extended-support-disabled- The DB cluster isn't enrolled in Amazon RDS Extended Support.
Default:
open-source-rds-extended-support-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
kmsKeyId
The Amazon Web Services KMS key identifier to use to encrypt the DB cluster.
Default: The KMS key that encrypts the source. For
RestoreDBClusterGroupFromSnapshot, that's the key of the member DB cluster snapshot. ForRestoreDBClusterGroupToPointInTime, it's the key of the source DB cluster.- Parameters:
kmsKeyId- The Amazon Web Services KMS key identifier to use to encrypt the DB cluster.Default: The KMS key that encrypts the source. For
RestoreDBClusterGroupFromSnapshot, that's the key of the member DB cluster snapshot. ForRestoreDBClusterGroupToPointInTime, it's the key of the source DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the DB cluster.
- Parameters:
tags- Tags to assign to the DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the DB cluster.
- Parameters:
tags- Tags to assign to the DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the DB cluster.
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:
-
tagSpecifications
MemberClusterProvisioningConfiguration.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications) Tags to assign to resources associated with the DB cluster.
- Parameters:
tagSpecifications- Tags to assign to resources associated with the DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
MemberClusterProvisioningConfiguration.Builder tagSpecifications(TagSpecification... tagSpecifications) Tags to assign to resources associated with the DB cluster.
- Parameters:
tagSpecifications- Tags to assign to resources associated with the DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
MemberClusterProvisioningConfiguration.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) Tags to assign to resources associated with the DB cluster.
This is a convenience method that creates an instance of theTagSpecification.Builderavoiding the need to create one manually viaTagSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagSpecifications(List<TagSpecification>).- Parameters:
tagSpecifications- a consumer that will call methods onTagSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-