Interface CopyDbClusterParameterGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CopyDbClusterParameterGroupRequest.Builder,CopyDbClusterParameterGroupRequest>,DocDbRequest.Builder,SdkBuilder<CopyDbClusterParameterGroupRequest.Builder,CopyDbClusterParameterGroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CopyDbClusterParameterGroupRequest
public static interface CopyDbClusterParameterGroupRequest.Builder extends DocDbRequest.Builder, SdkPojo, CopyableBuilder<CopyDbClusterParameterGroupRequest.Builder,CopyDbClusterParameterGroupRequest>
-
-
Method Summary
-
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.docdb.model.DocDbRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
sourceDBClusterParameterGroupIdentifier
CopyDbClusterParameterGroupRequest.Builder sourceDBClusterParameterGroupIdentifier(String sourceDBClusterParameterGroupIdentifier)
The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.
Constraints:
-
Must specify a valid cluster parameter group.
-
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a valid parameter group identifier; for example,
my-db-cluster-param-group, or a valid ARN. -
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid cluster parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group.
- Parameters:
sourceDBClusterParameterGroupIdentifier- The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.Constraints:
-
Must specify a valid cluster parameter group.
-
If the source cluster parameter group is in the same Amazon Web Services Region as the copy, specify a valid parameter group identifier; for example,
my-db-cluster-param-group, or a valid ARN. -
If the source parameter group is in a different Amazon Web Services Region than the copy, specify a valid cluster parameter group ARN; for example,
arn:aws:rds:us-east-1:123456789012:sample-cluster:sample-parameter-group.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetDBClusterParameterGroupIdentifier
CopyDbClusterParameterGroupRequest.Builder targetDBClusterParameterGroupIdentifier(String targetDBClusterParameterGroupIdentifier)
The identifier for the copied cluster parameter group.
Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-param-group1- Parameters:
targetDBClusterParameterGroupIdentifier- The identifier for the copied cluster parameter group.Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-param-group1-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetDBClusterParameterGroupDescription
CopyDbClusterParameterGroupRequest.Builder targetDBClusterParameterGroupDescription(String targetDBClusterParameterGroupDescription)
A description for the copied cluster parameter group.
- Parameters:
targetDBClusterParameterGroupDescription- A description for the copied cluster parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CopyDbClusterParameterGroupRequest.Builder tags(Collection<Tag> tags)
The tags that are to be assigned to the parameter group.
- Parameters:
tags- The tags that are to be assigned to the parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CopyDbClusterParameterGroupRequest.Builder tags(Tag... tags)
The tags that are to be assigned to the parameter group.
- Parameters:
tags- The tags that are to be assigned to the parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CopyDbClusterParameterGroupRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags that are to be assigned to the parameter 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 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)
-
overrideConfiguration
CopyDbClusterParameterGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CopyDbClusterParameterGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-