public static interface CopyDBParameterGroupRequest.Builder extends RDSRequest.Builder, CopyableBuilder<CopyDBParameterGroupRequest.Builder,CopyDBParameterGroupRequest>
Modifier and Type | Method and Description |
---|---|
CopyDBParameterGroupRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CopyDBParameterGroupRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CopyDBParameterGroupRequest.Builder |
sourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group.
|
CopyDBParameterGroupRequest.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
CopyDBParameterGroupRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
CopyDBParameterGroupRequest.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
CopyDBParameterGroupRequest.Builder |
targetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
|
CopyDBParameterGroupRequest.Builder |
targetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
|
build
requestOverrideConfig
copy
apply, build
CopyDBParameterGroupRequest.Builder sourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB parameter group.
Must specify a valid DB parameter group identifier, for example my-db-param-group
, or a valid
ARN.
sourceDBParameterGroupIdentifier
- The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
Constraints:
Must specify a valid DB parameter group.
Must specify a valid DB parameter group identifier, for example my-db-param-group
, or a
valid ARN.
CopyDBParameterGroupRequest.Builder targetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-db-parameter-group
targetDBParameterGroupIdentifier
- The identifier for the copied DB parameter group.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-db-parameter-group
CopyDBParameterGroupRequest.Builder targetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
targetDBParameterGroupDescription
- A description for the copied DB parameter group.CopyDBParameterGroupRequest.Builder tags(Collection<Tag> tags)
tags
- The new value for the Tags property for this object.CopyDBParameterGroupRequest.Builder tags(Tag... tags)
tags
- The new value for the Tags property for this object.CopyDBParameterGroupRequest.Builder tags(Consumer<Tag.Builder>... tags)
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CopyDBParameterGroupRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CopyDBParameterGroupRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.