Interface CreateOptionGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateOptionGroupRequest.Builder,CreateOptionGroupRequest>,RdsRequest.Builder,SdkBuilder<CreateOptionGroupRequest.Builder,CreateOptionGroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateOptionGroupRequest
public static interface CreateOptionGroupRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<CreateOptionGroupRequest.Builder,CreateOptionGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateOptionGroupRequest.BuilderengineName(String engineName)The name of the engine to associate this option group with.CreateOptionGroupRequest.BuildermajorEngineVersion(String majorEngineVersion)Specifies the major version of the engine that this option group should be associated with.CreateOptionGroupRequest.BuilderoptionGroupDescription(String optionGroupDescription)The description of the option group.CreateOptionGroupRequest.BuilderoptionGroupName(String optionGroupName)Specifies the name of the option group to be created.CreateOptionGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateOptionGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateOptionGroupRequest.Buildertags(Collection<Tag> tags)Tags to assign to the option group.CreateOptionGroupRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags to assign to the option group.CreateOptionGroupRequest.Buildertags(Tag... tags)Tags to assign to the option 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
optionGroupName
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- Parameters:
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-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
engineName
CreateOptionGroupRequest.Builder engineName(String engineName)
The name of the engine to associate this option group with.
Valid Values:
-
db2-ae -
db2-se -
mariadb -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
- Parameters:
engineName- The name of the engine to associate this option group with.Valid Values:
-
db2-ae -
db2-se -
mariadb -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
majorEngineVersion
CreateOptionGroupRequest.Builder majorEngineVersion(String majorEngineVersion)
Specifies the major version of the engine that this option group should be associated with.
- Parameters:
majorEngineVersion- Specifies the major version of the engine that this option group should be associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionGroupDescription
CreateOptionGroupRequest.Builder optionGroupDescription(String optionGroupDescription)
The description of the option group.
- Parameters:
optionGroupDescription- The description of the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateOptionGroupRequest.Builder tags(Collection<Tag> tags)
Tags to assign to the option group.
- Parameters:
tags- Tags to assign to the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateOptionGroupRequest.Builder tags(Tag... tags)
Tags to assign to the option group.
- Parameters:
tags- Tags to assign to the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateOptionGroupRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags to assign to the option group.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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
CreateOptionGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateOptionGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-