Interface OptionGroup.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OptionGroup.Builder,,OptionGroup> SdkBuilder<OptionGroup.Builder,,OptionGroup> SdkPojo
- Enclosing class:
OptionGroup
-
Method Summary
Modifier and TypeMethodDescriptionallowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships) Indicates whether this option group can be applied to both VPC and non-VPC instances.copyTimestamp(Instant copyTimestamp) Indicates when the option group was copied.engineName(String engineName) Indicates the name of the engine that this option group can be applied to.majorEngineVersion(String majorEngineVersion) Indicates the major engine version associated with this option group.optionGroupArn(String optionGroupArn) Specifies the Amazon Resource Name (ARN) for the option group.optionGroupDescription(String optionGroupDescription) Provides a description of the option group.optionGroupName(String optionGroupName) Specifies the name of the option group.options(Collection<Option> options) Indicates what options are available in the option group.options(Consumer<Option.Builder>... options) Indicates what options are available in the option group.Indicates what options are available in the option group.sourceAccountId(String sourceAccountId) Specifies the Amazon Web Services account ID for the option group from which this option group is copied.sourceOptionGroup(String sourceOptionGroup) Specifies the name of the option group from which this option group is copied.If AllowsVpcAndNonVpcInstanceMemberships isfalse, this field is blank.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
optionGroupName
Specifies the name of the option group.
- Parameters:
optionGroupName- Specifies the name of the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionGroupDescription
Provides a description of the option group.
- Parameters:
optionGroupDescription- Provides a description of the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineName
Indicates the name of the engine that this option group can be applied to.
- Parameters:
engineName- Indicates the name of the engine that this option group can be applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
majorEngineVersion
Indicates the major engine version associated with this option group.
- Parameters:
majorEngineVersion- Indicates the major engine version associated with this option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Indicates what options are available in the option group.
- Parameters:
options- Indicates what options are available in the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Indicates what options are available in the option group.
- Parameters:
options- Indicates what options are available in the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Indicates what options are available in the option group.
This is a convenience method that creates an instance of theOption.Builderavoiding the need to create one manually viaOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptions(List<Option>).- Parameters:
options- a consumer that will call methods onOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowsVpcAndNonVpcInstanceMemberships
OptionGroup.Builder allowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships) Indicates whether this option group can be applied to both VPC and non-VPC instances. The value
trueindicates the option group can be applied to both VPC and non-VPC instances.- Parameters:
allowsVpcAndNonVpcInstanceMemberships- Indicates whether this option group can be applied to both VPC and non-VPC instances. The valuetrueindicates the option group can be applied to both VPC and non-VPC instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
If AllowsVpcAndNonVpcInstanceMemberships is
false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships istrueand this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.- Parameters:
vpcId- If AllowsVpcAndNonVpcInstanceMemberships isfalse, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships istrueand this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionGroupArn
Specifies the Amazon Resource Name (ARN) for the option group.
- Parameters:
optionGroupArn- Specifies the Amazon Resource Name (ARN) for the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceOptionGroup
Specifies the name of the option group from which this option group is copied.
- Parameters:
sourceOptionGroup- Specifies the name of the option group from which this option group is copied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAccountId
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
- Parameters:
sourceAccountId- Specifies the Amazon Web Services account ID for the option group from which this option group is copied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyTimestamp
Indicates when the option group was copied.
- Parameters:
copyTimestamp- Indicates when the option group was copied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-