public class OptionGroupOption
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Available option.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
defaultPort
If the option requires a port, specifies the default port for the option.
|
private java.lang.String |
description
The description of the option.
|
private java.lang.String |
engineName
The name of the engine that this option can be applied to.
|
private java.lang.String |
majorEngineVersion
Indicates the major engine version that the option is available for.
|
private java.lang.String |
minimumRequiredMinorEngineVersion
The minimum required engine version for the option to be applied.
|
private java.lang.String |
name
The name of the option.
|
private SdkInternalList<OptionGroupOptionSetting> |
optionGroupOptionSettings
Specifies the option settings that are available (and the default value)
for each option in an option group.
|
private SdkInternalList<java.lang.String> |
optionsDependedOn
List of all options that are prerequisites for this option.
|
private java.lang.Boolean |
permanent
A permanent option cannot be removed from the option group once the
option group is used, and it cannot be removed from the db instance after
assigning an option group with this permanent option.
|
private java.lang.Boolean |
persistent
A persistent option cannot be removed from the option group once the
option group is used, but this option can be removed from the db instance
while modifying the related data and assigning another option group
without this option.
|
private java.lang.Boolean |
portRequired
Specifies whether the option requires a port.
|
Constructor and Description |
---|
OptionGroupOption() |
Modifier and Type | Method and Description |
---|---|
OptionGroupOption |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getDefaultPort()
If the option requires a port, specifies the default port for the option.
|
java.lang.String |
getDescription()
The description of the option.
|
java.lang.String |
getEngineName()
The name of the engine that this option can be applied to.
|
java.lang.String |
getMajorEngineVersion()
Indicates the major engine version that the option is available for.
|
java.lang.String |
getMinimumRequiredMinorEngineVersion()
The minimum required engine version for the option to be applied.
|
java.lang.String |
getName()
The name of the option.
|
java.util.List<OptionGroupOptionSetting> |
getOptionGroupOptionSettings()
Specifies the option settings that are available (and the default value)
for each option in an option group.
|
java.util.List<java.lang.String> |
getOptionsDependedOn()
List of all options that are prerequisites for this option.
|
java.lang.Boolean |
getPermanent()
A permanent option cannot be removed from the option group once the
option group is used, and it cannot be removed from the db instance after
assigning an option group with this permanent option.
|
java.lang.Boolean |
getPersistent()
A persistent option cannot be removed from the option group once the
option group is used, but this option can be removed from the db instance
while modifying the related data and assigning another option group
without this option.
|
java.lang.Boolean |
getPortRequired()
Specifies whether the option requires a port.
|
int |
hashCode() |
java.lang.Boolean |
isPermanent()
A permanent option cannot be removed from the option group once the
option group is used, and it cannot be removed from the db instance after
assigning an option group with this permanent option.
|
java.lang.Boolean |
isPersistent()
A persistent option cannot be removed from the option group once the
option group is used, but this option can be removed from the db instance
while modifying the related data and assigning another option group
without this option.
|
java.lang.Boolean |
isPortRequired()
Specifies whether the option requires a port.
|
void |
setDefaultPort(java.lang.Integer defaultPort)
If the option requires a port, specifies the default port for the option.
|
void |
setDescription(java.lang.String description)
The description of the option.
|
void |
setEngineName(java.lang.String engineName)
The name of the engine that this option can be applied to.
|
void |
setMajorEngineVersion(java.lang.String majorEngineVersion)
Indicates the major engine version that the option is available for.
|
void |
setMinimumRequiredMinorEngineVersion(java.lang.String minimumRequiredMinorEngineVersion)
The minimum required engine version for the option to be applied.
|
void |
setName(java.lang.String name)
The name of the option.
|
void |
setOptionGroupOptionSettings(java.util.Collection<OptionGroupOptionSetting> optionGroupOptionSettings)
Specifies the option settings that are available (and the default value)
for each option in an option group.
|
void |
setOptionsDependedOn(java.util.Collection<java.lang.String> optionsDependedOn)
List of all options that are prerequisites for this option.
|
void |
setPermanent(java.lang.Boolean permanent)
A permanent option cannot be removed from the option group once the
option group is used, and it cannot be removed from the db instance after
assigning an option group with this permanent option.
|
void |
setPersistent(java.lang.Boolean persistent)
A persistent option cannot be removed from the option group once the
option group is used, but this option can be removed from the db instance
while modifying the related data and assigning another option group
without this option.
|
void |
setPortRequired(java.lang.Boolean portRequired)
Specifies whether the option requires a port.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OptionGroupOption |
withDefaultPort(java.lang.Integer defaultPort)
If the option requires a port, specifies the default port for the option.
|
OptionGroupOption |
withDescription(java.lang.String description)
The description of the option.
|
OptionGroupOption |
withEngineName(java.lang.String engineName)
The name of the engine that this option can be applied to.
|
OptionGroupOption |
withMajorEngineVersion(java.lang.String majorEngineVersion)
Indicates the major engine version that the option is available for.
|
OptionGroupOption |
withMinimumRequiredMinorEngineVersion(java.lang.String minimumRequiredMinorEngineVersion)
The minimum required engine version for the option to be applied.
|
OptionGroupOption |
withName(java.lang.String name)
The name of the option.
|
OptionGroupOption |
withOptionGroupOptionSettings(java.util.Collection<OptionGroupOptionSetting> optionGroupOptionSettings)
Specifies the option settings that are available (and the default value)
for each option in an option group.
|
OptionGroupOption |
withOptionGroupOptionSettings(OptionGroupOptionSetting... optionGroupOptionSettings)
Specifies the option settings that are available (and the default value)
for each option in an option group.
|
OptionGroupOption |
withOptionsDependedOn(java.util.Collection<java.lang.String> optionsDependedOn)
List of all options that are prerequisites for this option.
|
OptionGroupOption |
withOptionsDependedOn(java.lang.String... optionsDependedOn)
List of all options that are prerequisites for this option.
|
OptionGroupOption |
withPermanent(java.lang.Boolean permanent)
A permanent option cannot be removed from the option group once the
option group is used, and it cannot be removed from the db instance after
assigning an option group with this permanent option.
|
OptionGroupOption |
withPersistent(java.lang.Boolean persistent)
A persistent option cannot be removed from the option group once the
option group is used, but this option can be removed from the db instance
while modifying the related data and assigning another option group
without this option.
|
OptionGroupOption |
withPortRequired(java.lang.Boolean portRequired)
Specifies whether the option requires a port.
|
private java.lang.String name
The name of the option.
private java.lang.String description
The description of the option.
private java.lang.String engineName
The name of the engine that this option can be applied to.
private java.lang.String majorEngineVersion
Indicates the major engine version that the option is available for.
private java.lang.String minimumRequiredMinorEngineVersion
The minimum required engine version for the option to be applied.
private java.lang.Boolean portRequired
Specifies whether the option requires a port.
private java.lang.Integer defaultPort
If the option requires a port, specifies the default port for the option.
private SdkInternalList<java.lang.String> optionsDependedOn
List of all options that are prerequisites for this option.
private java.lang.Boolean persistent
A persistent option cannot be removed from the option group once the option group is used, but this option can be removed from the db instance while modifying the related data and assigning another option group without this option.
private java.lang.Boolean permanent
A permanent option cannot be removed from the option group once the option group is used, and it cannot be removed from the db instance after assigning an option group with this permanent option.
private SdkInternalList<OptionGroupOptionSetting> optionGroupOptionSettings
Specifies the option settings that are available (and the default value) for each option in an option group.
public void setName(java.lang.String name)
The name of the option.
name
- The name of the option.public java.lang.String getName()
The name of the option.
public OptionGroupOption withName(java.lang.String name)
The name of the option.
name
- The name of the option.public void setDescription(java.lang.String description)
The description of the option.
description
- The description of the option.public java.lang.String getDescription()
The description of the option.
public OptionGroupOption withDescription(java.lang.String description)
The description of the option.
description
- The description of the option.public void setEngineName(java.lang.String engineName)
The name of the engine that this option can be applied to.
engineName
- The name of the engine that this option can be applied to.public java.lang.String getEngineName()
The name of the engine that this option can be applied to.
public OptionGroupOption withEngineName(java.lang.String engineName)
The name of the engine that this option can be applied to.
engineName
- The name of the engine that this option can be applied to.public void setMajorEngineVersion(java.lang.String majorEngineVersion)
Indicates the major engine version that the option is available for.
majorEngineVersion
- Indicates the major engine version that the option is available
for.public java.lang.String getMajorEngineVersion()
Indicates the major engine version that the option is available for.
public OptionGroupOption withMajorEngineVersion(java.lang.String majorEngineVersion)
Indicates the major engine version that the option is available for.
majorEngineVersion
- Indicates the major engine version that the option is available
for.public void setMinimumRequiredMinorEngineVersion(java.lang.String minimumRequiredMinorEngineVersion)
The minimum required engine version for the option to be applied.
minimumRequiredMinorEngineVersion
- The minimum required engine version for the option to be applied.public java.lang.String getMinimumRequiredMinorEngineVersion()
The minimum required engine version for the option to be applied.
public OptionGroupOption withMinimumRequiredMinorEngineVersion(java.lang.String minimumRequiredMinorEngineVersion)
The minimum required engine version for the option to be applied.
minimumRequiredMinorEngineVersion
- The minimum required engine version for the option to be applied.public void setPortRequired(java.lang.Boolean portRequired)
Specifies whether the option requires a port.
portRequired
- Specifies whether the option requires a port.public java.lang.Boolean getPortRequired()
Specifies whether the option requires a port.
public OptionGroupOption withPortRequired(java.lang.Boolean portRequired)
Specifies whether the option requires a port.
portRequired
- Specifies whether the option requires a port.public java.lang.Boolean isPortRequired()
Specifies whether the option requires a port.
public void setDefaultPort(java.lang.Integer defaultPort)
If the option requires a port, specifies the default port for the option.
defaultPort
- If the option requires a port, specifies the default port for the
option.public java.lang.Integer getDefaultPort()
If the option requires a port, specifies the default port for the option.
public OptionGroupOption withDefaultPort(java.lang.Integer defaultPort)
If the option requires a port, specifies the default port for the option.
defaultPort
- If the option requires a port, specifies the default port for the
option.public java.util.List<java.lang.String> getOptionsDependedOn()
List of all options that are prerequisites for this option.
public void setOptionsDependedOn(java.util.Collection<java.lang.String> optionsDependedOn)
List of all options that are prerequisites for this option.
optionsDependedOn
- List of all options that are prerequisites for this option.public OptionGroupOption withOptionsDependedOn(java.lang.String... optionsDependedOn)
List of all options that are prerequisites for this option.
NOTE: This method appends the values to the existing list (if
any). Use setOptionsDependedOn(java.util.Collection)
or
withOptionsDependedOn(java.util.Collection)
if you want to
override the existing values.
optionsDependedOn
- List of all options that are prerequisites for this option.public OptionGroupOption withOptionsDependedOn(java.util.Collection<java.lang.String> optionsDependedOn)
List of all options that are prerequisites for this option.
optionsDependedOn
- List of all options that are prerequisites for this option.public void setPersistent(java.lang.Boolean persistent)
A persistent option cannot be removed from the option group once the option group is used, but this option can be removed from the db instance while modifying the related data and assigning another option group without this option.
persistent
- A persistent option cannot be removed from the option group once
the option group is used, but this option can be removed from the
db instance while modifying the related data and assigning another
option group without this option.public java.lang.Boolean getPersistent()
A persistent option cannot be removed from the option group once the option group is used, but this option can be removed from the db instance while modifying the related data and assigning another option group without this option.
public OptionGroupOption withPersistent(java.lang.Boolean persistent)
A persistent option cannot be removed from the option group once the option group is used, but this option can be removed from the db instance while modifying the related data and assigning another option group without this option.
persistent
- A persistent option cannot be removed from the option group once
the option group is used, but this option can be removed from the
db instance while modifying the related data and assigning another
option group without this option.public java.lang.Boolean isPersistent()
A persistent option cannot be removed from the option group once the option group is used, but this option can be removed from the db instance while modifying the related data and assigning another option group without this option.
public void setPermanent(java.lang.Boolean permanent)
A permanent option cannot be removed from the option group once the option group is used, and it cannot be removed from the db instance after assigning an option group with this permanent option.
permanent
- A permanent option cannot be removed from the option group once
the option group is used, and it cannot be removed from the db
instance after assigning an option group with this permanent
option.public java.lang.Boolean getPermanent()
A permanent option cannot be removed from the option group once the option group is used, and it cannot be removed from the db instance after assigning an option group with this permanent option.
public OptionGroupOption withPermanent(java.lang.Boolean permanent)
A permanent option cannot be removed from the option group once the option group is used, and it cannot be removed from the db instance after assigning an option group with this permanent option.
permanent
- A permanent option cannot be removed from the option group once
the option group is used, and it cannot be removed from the db
instance after assigning an option group with this permanent
option.public java.lang.Boolean isPermanent()
A permanent option cannot be removed from the option group once the option group is used, and it cannot be removed from the db instance after assigning an option group with this permanent option.
public java.util.List<OptionGroupOptionSetting> getOptionGroupOptionSettings()
Specifies the option settings that are available (and the default value) for each option in an option group.
public void setOptionGroupOptionSettings(java.util.Collection<OptionGroupOptionSetting> optionGroupOptionSettings)
Specifies the option settings that are available (and the default value) for each option in an option group.
optionGroupOptionSettings
- Specifies the option settings that are available (and the default
value) for each option in an option group.public OptionGroupOption withOptionGroupOptionSettings(OptionGroupOptionSetting... optionGroupOptionSettings)
Specifies the option settings that are available (and the default value) for each option in an option group.
NOTE: This method appends the values to the existing list (if
any). Use setOptionGroupOptionSettings(java.util.Collection)
or
withOptionGroupOptionSettings(java.util.Collection)
if you want
to override the existing values.
optionGroupOptionSettings
- Specifies the option settings that are available (and the default
value) for each option in an option group.public OptionGroupOption withOptionGroupOptionSettings(java.util.Collection<OptionGroupOptionSetting> optionGroupOptionSettings)
Specifies the option settings that are available (and the default value) for each option in an option group.
optionGroupOptionSettings
- Specifies the option settings that are available (and the default
value) for each option in an option group.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public OptionGroupOption clone()
clone
in class java.lang.Object