Interface CreateOptionGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateOptionGroupRequest.Builder,
,CreateOptionGroupRequest> RdsRequest.Builder
,SdkBuilder<CreateOptionGroupRequest.Builder,
,CreateOptionGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateOptionGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionengineName
(String engineName) The name of the engine to associate this option group with.majorEngineVersion
(String majorEngineVersion) Specifies the major version of the engine that this option group should be associated with.optionGroupDescription
(String optionGroupDescription) The description of the option group.optionGroupName
(String optionGroupName) Specifies the name of the option group to be created.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) Tags to assign to the option group.tags
(Consumer<Tag.Builder>... tags) Tags to assign to the option group.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 Details
-
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
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
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
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
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
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
Tags to assign to the option group.
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 totags(List<Tag>)
.- 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:
-
overrideConfiguration
CreateOptionGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateOptionGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-