Interface Option.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Option.Builder,Option>
,SdkBuilder<Option.Builder,Option>
,SdkPojo
- Enclosing class:
- Option
public static interface Option.Builder extends SdkPojo, CopyableBuilder<Option.Builder,Option>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Option.Builder
dbSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dbSecurityGroupMemberships)
If the option requires access to a port, then this DB security group allows access to the port.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.Option.Builder
dbSecurityGroupMemberships(DBSecurityGroupMembership... dbSecurityGroupMemberships)
If the option requires access to a port, then this DB security group allows access to the port.Option.Builder
optionDescription(String optionDescription)
The description of the option.Option.Builder
optionName(String optionName)
The name of the option.Option.Builder
optionSettings(Collection<OptionSetting> optionSettings)
The option settings for this option.Option.Builder
optionSettings(Consumer<OptionSetting.Builder>... optionSettings)
The option settings for this option.Option.Builder
optionSettings(OptionSetting... optionSettings)
The option settings for this option.Option.Builder
optionVersion(String optionVersion)
The version of the option.Option.Builder
permanent(Boolean permanent)
Indicates whether this option is permanent.Option.Builder
persistent(Boolean persistent)
Indicates whether this option is persistent.Option.Builder
port(Integer port)
If required, the port configured for this option to use.Option.Builder
vpcSecurityGroupMemberships(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships)
If the option requires access to a port, then this VPC security group allows access to the port.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.Option.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
optionName
Option.Builder optionName(String 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
Option.Builder optionDescription(String 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
Option.Builder persistent(Boolean 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
Option.Builder permanent(Boolean 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
Option.Builder port(Integer 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
Option.Builder optionVersion(String 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
Option.Builder optionSettings(Collection<OptionSetting> 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
Option.Builder optionSettings(OptionSetting... 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
Option.Builder optionSettings(Consumer<OptionSetting.Builder>... 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 to#optionSettings(List
.) - 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:
#optionSettings(java.util.Collection
)
-
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
Option.Builder dbSecurityGroupMemberships(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
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 to#dbSecurityGroupMemberships(List
.) - 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:
#dbSecurityGroupMemberships(java.util.Collection
)
-
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 to#vpcSecurityGroupMemberships(List
.) - 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:
#vpcSecurityGroupMemberships(java.util.Collection
)
-
-