Interface CopyDbClusterParameterGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CopyDbClusterParameterGroupRequest.Builder,
,CopyDbClusterParameterGroupRequest> RdsRequest.Builder
,SdkBuilder<CopyDbClusterParameterGroupRequest.Builder,
,CopyDbClusterParameterGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CopyDbClusterParameterGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceDBClusterParameterGroupIdentifier
(String sourceDBClusterParameterGroupIdentifier) The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group.tags
(Collection<Tag> tags) Sets the value of the Tags property for this object.tags
(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.targetDBClusterParameterGroupDescription
(String targetDBClusterParameterGroupDescription) A description for the copied DB cluster parameter group.targetDBClusterParameterGroupIdentifier
(String targetDBClusterParameterGroupIdentifier) The identifier for the copied DB cluster parameter group.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.rds.model.RdsRequest.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 Details
-
sourceDBClusterParameterGroupIdentifier
CopyDbClusterParameterGroupRequest.Builder sourceDBClusterParameterGroupIdentifier(String sourceDBClusterParameterGroupIdentifier) The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon Aurora User Guide.
Constraints:
-
Must specify a valid DB cluster parameter group.
- Parameters:
sourceDBClusterParameterGroupIdentifier
- The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon Aurora User Guide.Constraints:
-
Must specify a valid DB cluster 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 DB cluster parameter group.
Constraints:
-
Can't be null, empty, or blank
-
Must contain from 1 to 255 letters, numbers, or hyphens
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
Example:
my-cluster-param-group1
- Parameters:
targetDBClusterParameterGroupIdentifier
- The identifier for the copied DB cluster parameter group.Constraints:
-
Can't be null, empty, or blank
-
Must contain from 1 to 255 letters, numbers, or hyphens
-
First character must be a letter
-
Can't 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 DB cluster parameter group.
- Parameters:
targetDBClusterParameterGroupDescription
- A description for the copied DB cluster parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
CopyDbClusterParameterGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CopyDbClusterParameterGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-