Class OptionGroupOption
- All Implemented Interfaces:
Serializable
,Cloneable
Available option.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
If the option requires a port, specifies the default port for the option.The description of the option.The name of the engine that this option can be applied to.Indicates the major engine version that the option is available for.The minimum required engine version for the option to be applied.getName()
The name of the option.Specifies the option settings that are available (and the default value) for each option in an option group.List of all options that are prerequisites for this option.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.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.Specifies whether the option requires a port.int
hashCode()
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.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.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
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.toString()
Returns a string representation of this object; useful for testing and debugging.withDefaultPort
(Integer defaultPort) If the option requires a port, specifies the default port for the option.withDescription
(String description) The description of the option.withEngineName
(String engineName) The name of the engine that this option can be applied to.withMajorEngineVersion
(String majorEngineVersion) Indicates the major engine version that the option is available for.withMinimumRequiredMinorEngineVersion
(String minimumRequiredMinorEngineVersion) The minimum required engine version for the option to be applied.The name of the option.withOptionGroupOptionSettings
(OptionGroupOptionSetting... optionGroupOptionSettings) Specifies the option settings that are available (and the default value) for each option in an option group.withOptionGroupOptionSettings
(Collection<OptionGroupOptionSetting> optionGroupOptionSettings) Specifies the option settings that are available (and the default value) for each option in an option group.withOptionsDependedOn
(String... optionsDependedOn) List of all options that are prerequisites for this option.withOptionsDependedOn
(Collection<String> optionsDependedOn) List of all options that are prerequisites for this option.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.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.withPortRequired
(Boolean portRequired) Specifies whether the option requires a port.
-
Constructor Details
-
OptionGroupOption
public OptionGroupOption()
-
-
Method Details
-
setName
The name of the option.
- Parameters:
name
- The name of the option.
-
getName
The name of the option.
- Returns:
- The name of the option.
-
withName
The name of the option.
- Parameters:
name
- The name of the option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description of the option.
- Parameters:
description
- The description of the option.
-
getDescription
The description of the option.
- Returns:
- The description of the option.
-
withDescription
The description of the option.
- Parameters:
description
- The description of the option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngineName
The name of the engine that this option can be applied to.
- Parameters:
engineName
- The name of the engine that this option can be applied to.
-
getEngineName
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.
-
withEngineName
The name of the engine that this option can be applied to.
- Parameters:
engineName
- The name of the engine that this option can be applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMajorEngineVersion
Indicates the major engine version that the option is available for.
- Parameters:
majorEngineVersion
- Indicates the major engine version that the option is available for.
-
getMajorEngineVersion
Indicates the major engine version that the option is available for.
- Returns:
- Indicates the major engine version that the option is available for.
-
withMajorEngineVersion
Indicates the major engine version that the option is available for.
- Parameters:
majorEngineVersion
- Indicates the major engine version that the option is available for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMinimumRequiredMinorEngineVersion
The minimum required engine version for the option to be applied.
- Parameters:
minimumRequiredMinorEngineVersion
- The minimum required engine version for the option to be applied.
-
getMinimumRequiredMinorEngineVersion
The minimum required engine version for the option to be applied.
- Returns:
- The minimum required engine version for the option to be applied.
-
withMinimumRequiredMinorEngineVersion
public OptionGroupOption withMinimumRequiredMinorEngineVersion(String minimumRequiredMinorEngineVersion) The minimum required engine version for the option to be applied.
- Parameters:
minimumRequiredMinorEngineVersion
- The minimum required engine version for the option to be applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPortRequired
Specifies whether the option requires a port.
- Parameters:
portRequired
- Specifies whether the option requires a port.
-
getPortRequired
Specifies whether the option requires a port.
- Returns:
- Specifies whether the option requires a port.
-
withPortRequired
Specifies whether the option requires a port.
- Parameters:
portRequired
- Specifies whether the option requires a port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPortRequired
Specifies whether the option requires a port.
- Returns:
- Specifies whether the option requires a port.
-
setDefaultPort
If the option requires a port, specifies the default port for the option.
- Parameters:
defaultPort
- If the option requires a port, specifies the default port for the option.
-
getDefaultPort
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.
-
withDefaultPort
If the option requires a port, specifies the default port for the option.
- Parameters:
defaultPort
- If the option requires a port, specifies the default port for the option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getOptionsDependedOn
List of all options that are prerequisites for this option.
- Returns:
- List of all options that are prerequisites for this option.
-
setOptionsDependedOn
List of all options that are prerequisites for this option.
- Parameters:
optionsDependedOn
- List of all options that are prerequisites for this option.
-
withOptionsDependedOn
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)
orwithOptionsDependedOn(java.util.Collection)
if you want to override the existing values.- Parameters:
optionsDependedOn
- List of all options that are prerequisites for this option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOptionsDependedOn
List of all options that are prerequisites for this option.
- Parameters:
optionsDependedOn
- List of all options that are prerequisites for this option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPersistent
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withPersistent
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
setPermanent
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withPermanent
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
getOptionGroupOptionSettings
Specifies the option settings that are available (and the default value) for each option in an option group.
- Returns:
- Specifies the option settings that are available (and the default value) for each option in an option group.
-
setOptionGroupOptionSettings
public void setOptionGroupOptionSettings(Collection<OptionGroupOptionSetting> optionGroupOptionSettings) Specifies the option settings that are available (and the default value) for each option in an option group.
- Parameters:
optionGroupOptionSettings
- Specifies the option settings that are available (and the default value) for each option in an option group.
-
withOptionGroupOptionSettings
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)
orwithOptionGroupOptionSettings(java.util.Collection)
if you want to override the existing values.- Parameters:
optionGroupOptionSettings
- Specifies the option settings that are available (and the default value) for each option in an option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOptionGroupOptionSettings
public OptionGroupOption withOptionGroupOptionSettings(Collection<OptionGroupOptionSetting> optionGroupOptionSettings) Specifies the option settings that are available (and the default value) for each option in an option group.
- Parameters:
optionGroupOptionSettings
- Specifies the option settings that are available (and the default value) for each option in an option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-