public static interface CopyOptionGroupRequest.Builder extends RDSRequest.Builder, CopyableBuilder<CopyOptionGroupRequest.Builder,CopyOptionGroupRequest>
| Modifier and Type | Method and Description |
|---|---|
CopyOptionGroupRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CopyOptionGroupRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CopyOptionGroupRequest.Builder |
sourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
The identifier or ARN for the source option group.
|
CopyOptionGroupRequest.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
CopyOptionGroupRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
CopyOptionGroupRequest.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
CopyOptionGroupRequest.Builder |
targetOptionGroupDescription(String targetOptionGroupDescription)
The description for the copied option group.
|
CopyOptionGroupRequest.Builder |
targetOptionGroupIdentifier(String targetOptionGroupIdentifier)
The identifier for the copied option group.
|
buildrequestOverrideConfigcopyapply, buildCopyOptionGroupRequest.Builder sourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
The identifier or ARN for the source option group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
Constraints:
Must specify a valid option group.
If the source option group is in the same AWS Region as the copy, specify a valid option group identifier,
for example my-option-group, or a valid ARN.
If the source option group is in a different AWS Region than the copy, specify a valid option group ARN, for
example arn:aws:rds:us-west-2:123456789012:og:special-options.
sourceOptionGroupIdentifier - The identifier or ARN for the source option group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
Constraints:
Must specify a valid option group.
If the source option group is in the same AWS Region as the copy, specify a valid option group
identifier, for example my-option-group, or a valid ARN.
If the source option group is in a different AWS Region than the copy, specify a valid option group
ARN, for example arn:aws:rds:us-west-2:123456789012:og:special-options.
CopyOptionGroupRequest.Builder targetOptionGroupIdentifier(String targetOptionGroupIdentifier)
The identifier for the copied option 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-option-group
targetOptionGroupIdentifier - The identifier for the copied option 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-option-group
CopyOptionGroupRequest.Builder targetOptionGroupDescription(String targetOptionGroupDescription)
The description for the copied option group.
targetOptionGroupDescription - The description for the copied option group.CopyOptionGroupRequest.Builder tags(Collection<Tag> tags)
tags - The new value for the Tags property for this object.CopyOptionGroupRequest.Builder tags(Tag... tags)
tags - The new value for the Tags property for this object.CopyOptionGroupRequest.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) CopyOptionGroupRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CopyOptionGroupRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.