public class OptionGroupOption extends Object implements Serializable, Cloneable
Available option.
Constructor and Description |
---|
OptionGroupOption() |
Modifier and Type | Method and Description |
---|---|
OptionGroupOption |
clone() |
boolean |
equals(Object obj) |
Integer |
getDefaultPort()
If the option requires a port, specifies the default port for the option.
|
String |
getDescription()
The description of the option.
|
String |
getEngineName()
The name of the engine that this option can be applied to.
|
String |
getMajorEngineVersion()
Indicates the major engine version that the option is available for.
|
String |
getMinimumRequiredMinorEngineVersion()
The minimum required engine version for the option to be applied.
|
String |
getName()
The name of the option.
|
List<OptionGroupOptionSetting> |
getOptionGroupOptionSettings()
Specifies the option settings that are available (and the default value)
for each option in an option group.
|
List<String> |
getOptionsDependedOn()
List of all options that are prerequisites for this option.
|
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.
|
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.
|
Boolean |
getPortRequired()
Specifies whether the option requires a port.
|
int |
hashCode() |
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.
|
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.
|
Boolean |
isPortRequired()
Specifies whether the option requires a port.
|
void |
setDefaultPort(Integer defaultPort)
If the option requires a port, specifies the default port for the option.
|
void |
setDescription(String description)
The description of the option.
|
void |
setEngineName(String engineName)
The name of the engine that this option can be applied to.
|
void |
setMajorEngineVersion(String majorEngineVersion)
Indicates the major engine version that the option is available for.
|
void |
setMinimumRequiredMinorEngineVersion(String minimumRequiredMinorEngineVersion)
The minimum required engine version for the option to be applied.
|
void |
setName(String name)
The name of the option.
|
void |
setOptionGroupOptionSettings(Collection<OptionGroupOptionSetting> optionGroupOptionSettings)
Specifies the option settings that are available (and the default value)
for each option in an option group.
|
void |
setOptionsDependedOn(Collection<String> optionsDependedOn)
List of all options that are prerequisites for this option.
|
void |
setPermanent(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(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(Boolean portRequired)
Specifies whether the option requires a port.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OptionGroupOption |
withDefaultPort(Integer defaultPort)
If the option requires a port, specifies the default port for the option.
|
OptionGroupOption |
withDescription(String description)
The description of the option.
|
OptionGroupOption |
withEngineName(String engineName)
The name of the engine that this option can be applied to.
|
OptionGroupOption |
withMajorEngineVersion(String majorEngineVersion)
Indicates the major engine version that the option is available for.
|
OptionGroupOption |
withMinimumRequiredMinorEngineVersion(String minimumRequiredMinorEngineVersion)
The minimum required engine version for the option to be applied.
|
OptionGroupOption |
withName(String name)
The name of the option.
|
OptionGroupOption |
withOptionGroupOptionSettings(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(Collection<String> optionsDependedOn)
List of all options that are prerequisites for this option.
|
OptionGroupOption |
withOptionsDependedOn(String... optionsDependedOn)
List of all options that are prerequisites for this option.
|
OptionGroupOption |
withPermanent(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(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(Boolean portRequired)
Specifies whether the option requires a port.
|
public void setName(String name)
The name of the option.
name
- The name of the option.public String getName()
The name of the option.
public OptionGroupOption withName(String name)
The name of the option.
name
- The name of the option.public void setDescription(String description)
The description of the option.
description
- The description of the option.public String getDescription()
The description of the option.
public OptionGroupOption withDescription(String description)
The description of the option.
description
- The description of the option.public void setEngineName(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 String getEngineName()
The name of the engine that this option can be applied to.
public OptionGroupOption withEngineName(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(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 String getMajorEngineVersion()
Indicates the major engine version that the option is available for.
public OptionGroupOption withMajorEngineVersion(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(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 String getMinimumRequiredMinorEngineVersion()
The minimum required engine version for the option to be applied.
public OptionGroupOption withMinimumRequiredMinorEngineVersion(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(Boolean portRequired)
Specifies whether the option requires a port.
portRequired
- Specifies whether the option requires a port.public Boolean getPortRequired()
Specifies whether the option requires a port.
public OptionGroupOption withPortRequired(Boolean portRequired)
Specifies whether the option requires a port.
portRequired
- Specifies whether the option requires a port.public Boolean isPortRequired()
Specifies whether the option requires a port.
public void setDefaultPort(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 Integer getDefaultPort()
If the option requires a port, specifies the default port for the option.
public OptionGroupOption withDefaultPort(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 List<String> getOptionsDependedOn()
List of all options that are prerequisites for this option.
public void setOptionsDependedOn(Collection<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(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(Collection<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(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 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(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 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(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 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(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 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 List<OptionGroupOptionSetting> getOptionGroupOptionSettings()
Specifies the option settings that are available (and the default value) for each option in an option group.
public void setOptionGroupOptionSettings(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(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 String toString()
toString
in class Object
Object.toString()
public OptionGroupOption clone()
Copyright © 2018. All rights reserved.