Interface Option.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Option.Builder,
,Option> SdkBuilder<Option.Builder,
,Option> SdkPojo
- Enclosing class:
Option
-
Method Summary
Modifier and TypeMethodDescriptiondbSecurityGroupMemberships
(Collection<DBSecurityGroupMembership> dbSecurityGroupMemberships) If the option requires access to a port, then this DB security group allows access to the port.dbSecurityGroupMemberships
(Consumer<DBSecurityGroupMembership.Builder>... dbSecurityGroupMemberships) If the option requires access to a port, then this DB security group allows access to the port.dbSecurityGroupMemberships
(DBSecurityGroupMembership... dbSecurityGroupMemberships) If the option requires access to a port, then this DB security group allows access to the port.optionDescription
(String optionDescription) The description of the option.optionName
(String optionName) The name of the option.optionSettings
(Collection<OptionSetting> optionSettings) The option settings for this option.optionSettings
(Consumer<OptionSetting.Builder>... optionSettings) The option settings for this option.optionSettings
(OptionSetting... optionSettings) The option settings for this option.optionVersion
(String optionVersion) The version of the option.Indicates whether this option is permanent.persistent
(Boolean persistent) Indicates whether this option is persistent.If required, the port configured for this option to use.vpcSecurityGroupMemberships
(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships) If the option requires access to a port, then this VPC security group allows access to the port.vpcSecurityGroupMemberships
(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroupMemberships) If the option requires access to a port, then this VPC security group allows access to the port.vpcSecurityGroupMemberships
(VpcSecurityGroupMembership... vpcSecurityGroupMemberships) If the option requires access to a port, then this VPC security group allows access to the port.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
optionName
The name of the option.
- Parameters:
optionName
- The name of the option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionDescription
The description of the option.
- Parameters:
optionDescription
- The description of the option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persistent
Indicates whether this option is persistent.
- Parameters:
persistent
- Indicates whether this option is persistent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permanent
Indicates whether this option is permanent.
- Parameters:
permanent
- Indicates whether this option is permanent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
If required, the port configured for this option to use.
- Parameters:
port
- If required, the port configured for this option to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionVersion
The version of the option.
- Parameters:
optionVersion
- The version of the option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionSettings
The option settings for this option.
- Parameters:
optionSettings
- The option settings for this option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionSettings
The option settings for this option.
- Parameters:
optionSettings
- The option settings for this option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionSettings
The option settings for this option.
This is a convenience method that creates an instance of theOptionSetting.Builder
avoiding the need to create one manually viaOptionSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptionSettings(List<OptionSetting>)
.- Parameters:
optionSettings
- a consumer that will call methods onOptionSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dbSecurityGroupMemberships
Option.Builder dbSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dbSecurityGroupMemberships) If the option requires access to a port, then this DB security group allows access to the port.
- Parameters:
dbSecurityGroupMemberships
- If the option requires access to a port, then this DB security group allows access to the port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSecurityGroupMemberships
If the option requires access to a port, then this DB security group allows access to the port.
- Parameters:
dbSecurityGroupMemberships
- If the option requires access to a port, then this DB security group allows access to the port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSecurityGroupMemberships
Option.Builder dbSecurityGroupMemberships(Consumer<DBSecurityGroupMembership.Builder>... dbSecurityGroupMemberships) If the option requires access to a port, then this DB security group allows access to the port.
This is a convenience method that creates an instance of theDBSecurityGroupMembership.Builder
avoiding the need to create one manually viaDBSecurityGroupMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbSecurityGroupMemberships(List<DBSecurityGroupMembership>)
.- Parameters:
dbSecurityGroupMemberships
- a consumer that will call methods onDBSecurityGroupMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcSecurityGroupMemberships
Option.Builder vpcSecurityGroupMemberships(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships) If the option requires access to a port, then this VPC security group allows access to the port.
- Parameters:
vpcSecurityGroupMemberships
- If the option requires access to a port, then this VPC security group allows access to the port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupMemberships
Option.Builder vpcSecurityGroupMemberships(VpcSecurityGroupMembership... vpcSecurityGroupMemberships) If the option requires access to a port, then this VPC security group allows access to the port.
- Parameters:
vpcSecurityGroupMemberships
- If the option requires access to a port, then this VPC security group allows access to the port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupMemberships
Option.Builder vpcSecurityGroupMemberships(Consumer<VpcSecurityGroupMembership.Builder>... vpcSecurityGroupMemberships) If the option requires access to a port, then this VPC security group allows access to the port.
This is a convenience method that creates an instance of theVpcSecurityGroupMembership.Builder
avoiding the need to create one manually viaVpcSecurityGroupMembership.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcSecurityGroupMemberships(List<VpcSecurityGroupMembership>)
.- Parameters:
vpcSecurityGroupMemberships
- a consumer that will call methods onVpcSecurityGroupMembership.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-