Class OptionGroupOption
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<OptionGroupOption.Builder,
OptionGroupOption>
Available option.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OptionGroupOption.Builder
builder()
final Boolean
Indicates whether the option can be copied across Amazon Web Services accounts.final Integer
If the option requires a port, specifies the default port for the option.final String
The description of the option.final String
The name of the engine that this option can be applied to.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the OptionGroupOptionSettings property.final boolean
For responses, this returns true if the service returned a value for the OptionGroupOptionVersions property.final boolean
For responses, this returns true if the service returned a value for the OptionsConflictsWith property.final boolean
For responses, this returns true if the service returned a value for the OptionsDependedOn property.final String
Indicates the major engine version that the option is available for.final String
The minimum required engine version for the option to be applied.final String
name()
The name of the option.final List
<OptionGroupOptionSetting> The option settings that are available (and the default value) for each option in an option group.final List
<OptionVersion> The versions that are available for the option.The options that conflict with this option.The options that are prerequisites for this option.final Boolean
Permanent options can never be removed from an option group.final Boolean
Persistent options can't be removed from an option group while DB instances are associated with the option group.final Boolean
Indicates whether the option requires a port.final Boolean
If true, you must enable the Auto Minor Version Upgrade setting for your DB instance before you can use this option.static Class
<? extends OptionGroupOption.Builder> final Boolean
If true, you can change the option to an earlier version of the option.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Boolean
vpcOnly()
If true, you can only use this option with a DB instance that is in a VPC.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the option.
- Returns:
- The name of the option.
-
description
The description of the option.
- Returns:
- The description of the option.
-
engineName
The name of the engine that this option can be applied to.
- Returns:
- The name of the engine that this option can be applied to.
-
majorEngineVersion
Indicates the major engine version that the option is available for.
- Returns:
- Indicates the major engine version that the option is available for.
-
minimumRequiredMinorEngineVersion
The minimum required engine version for the option to be applied.
- Returns:
- The minimum required engine version for the option to be applied.
-
portRequired
Indicates whether the option requires a port.
- Returns:
- Indicates whether the option requires a port.
-
defaultPort
If the option requires a port, specifies the default port for the option.
- Returns:
- If the option requires a port, specifies the default port for the option.
-
hasOptionsDependedOn
public final boolean hasOptionsDependedOn()For responses, this returns true if the service returned a value for the OptionsDependedOn property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
optionsDependedOn
The options that are prerequisites for this option.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasOptionsDependedOn()
method.- Returns:
- The options that are prerequisites for this option.
-
hasOptionsConflictsWith
public final boolean hasOptionsConflictsWith()For responses, this returns true if the service returned a value for the OptionsConflictsWith property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
optionsConflictsWith
The options that conflict with this option.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasOptionsConflictsWith()
method.- Returns:
- The options that conflict with this option.
-
persistent
Persistent options can't be removed from an option group while DB instances are associated with the option group. If you disassociate all DB instances from the option group, your can remove the persistent option from the option group.
- Returns:
- Persistent options can't be removed from an option group while DB instances are associated with the option group. If you disassociate all DB instances from the option group, your can remove the persistent option from the option group.
-
permanent
Permanent options can never be removed from an option group. An option group containing a permanent option can't be removed from a DB instance.
- Returns:
- Permanent options can never be removed from an option group. An option group containing a permanent option can't be removed from a DB instance.
-
requiresAutoMinorEngineVersionUpgrade
If true, you must enable the Auto Minor Version Upgrade setting for your DB instance before you can use this option. You can enable Auto Minor Version Upgrade when you first create your DB instance, or by modifying your DB instance later.
- Returns:
- If true, you must enable the Auto Minor Version Upgrade setting for your DB instance before you can use this option. You can enable Auto Minor Version Upgrade when you first create your DB instance, or by modifying your DB instance later.
-
vpcOnly
If true, you can only use this option with a DB instance that is in a VPC.
- Returns:
- If true, you can only use this option with a DB instance that is in a VPC.
-
supportsOptionVersionDowngrade
If true, you can change the option to an earlier version of the option. This only applies to options that have different versions available.
- Returns:
- If true, you can change the option to an earlier version of the option. This only applies to options that have different versions available.
-
hasOptionGroupOptionSettings
public final boolean hasOptionGroupOptionSettings()For responses, this returns true if the service returned a value for the OptionGroupOptionSettings property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
optionGroupOptionSettings
The option settings that are available (and the default value) for each option in an option group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasOptionGroupOptionSettings()
method.- Returns:
- The option settings that are available (and the default value) for each option in an option group.
-
hasOptionGroupOptionVersions
public final boolean hasOptionGroupOptionVersions()For responses, this returns true if the service returned a value for the OptionGroupOptionVersions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
optionGroupOptionVersions
The versions that are available for the option.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasOptionGroupOptionVersions()
method.- Returns:
- The versions that are available for the option.
-
copyableCrossAccount
Indicates whether the option can be copied across Amazon Web Services accounts.
- Returns:
- Indicates whether the option can be copied across Amazon Web Services accounts.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<OptionGroupOption.Builder,
OptionGroupOption> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-