public static interface CreateOptionGroupRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<CreateOptionGroupRequest.Builder,CreateOptionGroupRequest>
Modifier and Type | Method and Description |
---|---|
CreateOptionGroupRequest.Builder |
engineName(String engineName)
Specifies the name of the engine that this option group should be associated with.
|
CreateOptionGroupRequest.Builder |
majorEngineVersion(String majorEngineVersion)
Specifies the major version of the engine that this option group should be associated with.
|
CreateOptionGroupRequest.Builder |
optionGroupDescription(String optionGroupDescription)
The description of the option group.
|
CreateOptionGroupRequest.Builder |
optionGroupName(String optionGroupName)
Specifies the name of the option group to be created.
|
CreateOptionGroupRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateOptionGroupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateOptionGroupRequest.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
CreateOptionGroupRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
CreateOptionGroupRequest.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
build
overrideConfiguration
copy
applyMutation, build
CreateOptionGroupRequest.Builder optionGroupName(String optionGroupName)
Specifies the name of the option group to be created.
Constraints:
Must be 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: myoptiongroup
optionGroupName
- Specifies the name of the option group to be created.
Constraints:
Must be 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: myoptiongroup
CreateOptionGroupRequest.Builder engineName(String engineName)
Specifies the name of the engine that this option group should be associated with.
engineName
- Specifies the name of the engine that this option group should be associated with.CreateOptionGroupRequest.Builder majorEngineVersion(String majorEngineVersion)
Specifies the major version of the engine that this option group should be associated with.
majorEngineVersion
- Specifies the major version of the engine that this option group should be associated with.CreateOptionGroupRequest.Builder optionGroupDescription(String optionGroupDescription)
The description of the option group.
optionGroupDescription
- The description of the option group.CreateOptionGroupRequest.Builder tags(Collection<Tag> tags)
tags
- The new value for the Tags property for this object.CreateOptionGroupRequest.Builder tags(Tag... tags)
tags
- The new value for the Tags property for this object.CreateOptionGroupRequest.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)
CreateOptionGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateOptionGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.