public static interface OptionGroup.Builder extends SdkPojo, CopyableBuilder<OptionGroup.Builder,OptionGroup>
| Modifier and Type | Method and Description |
|---|---|
OptionGroup.Builder |
allowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
Indicates whether this option group can be applied to both VPC and non-VPC instances.
|
OptionGroup.Builder |
copyTimestamp(Instant copyTimestamp)
Indicates when the option group was copied.
|
OptionGroup.Builder |
engineName(String engineName)
Indicates the name of the engine that this option group can be applied to.
|
OptionGroup.Builder |
majorEngineVersion(String majorEngineVersion)
Indicates the major engine version associated with this option group.
|
OptionGroup.Builder |
optionGroupArn(String optionGroupArn)
Specifies the Amazon Resource Name (ARN) for the option group.
|
OptionGroup.Builder |
optionGroupDescription(String optionGroupDescription)
Provides a description of the option group.
|
OptionGroup.Builder |
optionGroupName(String optionGroupName)
Specifies the name of the option group.
|
OptionGroup.Builder |
options(Collection<Option> options)
Indicates what options are available in the option group.
|
OptionGroup.Builder |
options(Consumer<Option.Builder>... options)
Indicates what options are available in the option group.
|
OptionGroup.Builder |
options(Option... options)
Indicates what options are available in the option group.
|
OptionGroup.Builder |
sourceAccountId(String sourceAccountId)
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
|
OptionGroup.Builder |
sourceOptionGroup(String sourceOptionGroup)
Specifies the name of the option group from which this option group is copied.
|
OptionGroup.Builder |
vpcId(String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is
false, this field is blank. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOptionGroup.Builder optionGroupName(String optionGroupName)
Specifies the name of the option group.
optionGroupName - Specifies the name of the option group.OptionGroup.Builder optionGroupDescription(String optionGroupDescription)
Provides a description of the option group.
optionGroupDescription - Provides a description of the option group.OptionGroup.Builder engineName(String engineName)
Indicates the name of the engine that this option group can be applied to.
engineName - Indicates the name of the engine that this option group can be applied to.OptionGroup.Builder majorEngineVersion(String majorEngineVersion)
Indicates the major engine version associated with this option group.
majorEngineVersion - Indicates the major engine version associated with this option group.OptionGroup.Builder options(Collection<Option> options)
Indicates what options are available in the option group.
options - Indicates what options are available in the option group.OptionGroup.Builder options(Option... options)
Indicates what options are available in the option group.
options - Indicates what options are available in the option group.OptionGroup.Builder options(Consumer<Option.Builder>... options)
Indicates what options are available in the option group.
This is a convenience method that creates an instance of theOption.Builder avoiding the need to create one manually via
Option.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #options(List.
options - a consumer that will call methods on Option.Builder#options(java.util.CollectionOptionGroup.Builder allowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value
true indicates the option group can be applied to both VPC and non-VPC instances.
allowsVpcAndNonVpcInstanceMemberships - Indicates whether this option group can be applied to both VPC and non-VPC instances. The value
true indicates the option group can be applied to both VPC and non-VPC instances.OptionGroup.Builder vpcId(String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If
AllowsVpcAndNonVpcInstanceMemberships is true and 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.
vpcId - If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If
AllowsVpcAndNonVpcInstanceMemberships is true and 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.OptionGroup.Builder optionGroupArn(String optionGroupArn)
Specifies the Amazon Resource Name (ARN) for the option group.
optionGroupArn - Specifies the Amazon Resource Name (ARN) for the option group.OptionGroup.Builder sourceOptionGroup(String sourceOptionGroup)
Specifies the name of the option group from which this option group is copied.
sourceOptionGroup - Specifies the name of the option group from which this option group is copied.OptionGroup.Builder sourceAccountId(String sourceAccountId)
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
sourceAccountId - Specifies the Amazon Web Services account ID for the option group from which this option group is
copied.OptionGroup.Builder copyTimestamp(Instant copyTimestamp)
Indicates when the option group was copied.
copyTimestamp - Indicates when the option group was copied.Copyright © 2023. All rights reserved.