Interface CopyOptionGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CopyOptionGroupRequest.Builder,CopyOptionGroupRequest>
,RdsRequest.Builder
,SdkBuilder<CopyOptionGroupRequest.Builder,CopyOptionGroupRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CopyOptionGroupRequest
public static interface CopyOptionGroupRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<CopyOptionGroupRequest.Builder,CopyOptionGroupRequest>
-
-
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.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sourceOptionGroupIdentifier
CopyOptionGroupRequest.Builder sourceOptionGroupIdentifier(String sourceOptionGroupIdentifier)
The identifier for the source option group.
Constraints:
-
Must specify a valid option group.
- Parameters:
sourceOptionGroupIdentifier
- The identifier for the source option group.Constraints:
-
Must specify a valid option group.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetOptionGroupIdentifier
CopyOptionGroupRequest.Builder targetOptionGroupIdentifier(String targetOptionGroupIdentifier)
The identifier for the copied option 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-option-group
- Parameters:
targetOptionGroupIdentifier
- The identifier for the copied option 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-option-group
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetOptionGroupDescription
CopyOptionGroupRequest.Builder targetOptionGroupDescription(String targetOptionGroupDescription)
The description for the copied option group.
- Parameters:
targetOptionGroupDescription
- The description for the copied option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CopyOptionGroupRequest.Builder tags(Collection<Tag> 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
CopyOptionGroupRequest.Builder tags(Tag... 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
CopyOptionGroupRequest.Builder tags(Consumer<Tag.Builder>... 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 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
CopyOptionGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CopyOptionGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-