Class DBEngineVersion
- java.lang.Object
-
- com.amazonaws.services.rds.model.DBEngineVersion
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DBEngineVersion extends Object implements Serializable, Cloneable
This data type is used as a response element in the action DescribeDBEngineVersions.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DBEngineVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DBEngineVersion
clone()
boolean
equals(Object obj)
String
getDBEngineDescription()
The description of the database engine.String
getDBEngineVersionDescription()
The description of the database engine version.String
getDBParameterGroupFamily()
The name of the DB parameter group family for the database engine.CharacterSet
getDefaultCharacterSet()
The default character set for new instances of this engine version, if theCharacterSetName
parameter of the CreateDBInstance API is not specified.String
getEngine()
The name of the database engine.String
getEngineVersion()
The version number of the database engine.List<CharacterSet>
getSupportedCharacterSets()
A list of the character sets supported by this engine for theCharacterSetName
parameter of the CreateDBInstance API.List<UpgradeTarget>
getValidUpgradeTarget()
A list of engine versions that this database engine version can be upgraded to.int
hashCode()
void
setDBEngineDescription(String dBEngineDescription)
The description of the database engine.void
setDBEngineVersionDescription(String dBEngineVersionDescription)
The description of the database engine version.void
setDBParameterGroupFamily(String dBParameterGroupFamily)
The name of the DB parameter group family for the database engine.void
setDefaultCharacterSet(CharacterSet defaultCharacterSet)
The default character set for new instances of this engine version, if theCharacterSetName
parameter of the CreateDBInstance API is not specified.void
setEngine(String engine)
The name of the database engine.void
setEngineVersion(String engineVersion)
The version number of the database engine.void
setSupportedCharacterSets(Collection<CharacterSet> supportedCharacterSets)
A list of the character sets supported by this engine for theCharacterSetName
parameter of the CreateDBInstance API.void
setValidUpgradeTarget(Collection<UpgradeTarget> validUpgradeTarget)
A list of engine versions that this database engine version can be upgraded to.String
toString()
Returns a string representation of this object; useful for testing and debugging.DBEngineVersion
withDBEngineDescription(String dBEngineDescription)
The description of the database engine.DBEngineVersion
withDBEngineVersionDescription(String dBEngineVersionDescription)
The description of the database engine version.DBEngineVersion
withDBParameterGroupFamily(String dBParameterGroupFamily)
The name of the DB parameter group family for the database engine.DBEngineVersion
withDefaultCharacterSet(CharacterSet defaultCharacterSet)
The default character set for new instances of this engine version, if theCharacterSetName
parameter of the CreateDBInstance API is not specified.DBEngineVersion
withEngine(String engine)
The name of the database engine.DBEngineVersion
withEngineVersion(String engineVersion)
The version number of the database engine.DBEngineVersion
withSupportedCharacterSets(CharacterSet... supportedCharacterSets)
A list of the character sets supported by this engine for theCharacterSetName
parameter of the CreateDBInstance API.DBEngineVersion
withSupportedCharacterSets(Collection<CharacterSet> supportedCharacterSets)
A list of the character sets supported by this engine for theCharacterSetName
parameter of the CreateDBInstance API.DBEngineVersion
withValidUpgradeTarget(UpgradeTarget... validUpgradeTarget)
A list of engine versions that this database engine version can be upgraded to.DBEngineVersion
withValidUpgradeTarget(Collection<UpgradeTarget> validUpgradeTarget)
A list of engine versions that this database engine version can be upgraded to.
-
-
-
Method Detail
-
setEngine
public void setEngine(String engine)
The name of the database engine.
- Parameters:
engine
- The name of the database engine.
-
getEngine
public String getEngine()
The name of the database engine.
- Returns:
- The name of the database engine.
-
withEngine
public DBEngineVersion withEngine(String engine)
The name of the database engine.
- Parameters:
engine
- The name of the database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngineVersion
public void setEngineVersion(String engineVersion)
The version number of the database engine.
- Parameters:
engineVersion
- The version number of the database engine.
-
getEngineVersion
public String getEngineVersion()
The version number of the database engine.
- Returns:
- The version number of the database engine.
-
withEngineVersion
public DBEngineVersion withEngineVersion(String engineVersion)
The version number of the database engine.
- Parameters:
engineVersion
- The version number of the database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBParameterGroupFamily
public void setDBParameterGroupFamily(String dBParameterGroupFamily)
The name of the DB parameter group family for the database engine.
- Parameters:
dBParameterGroupFamily
- The name of the DB parameter group family for the database engine.
-
getDBParameterGroupFamily
public String getDBParameterGroupFamily()
The name of the DB parameter group family for the database engine.
- Returns:
- The name of the DB parameter group family for the database engine.
-
withDBParameterGroupFamily
public DBEngineVersion withDBParameterGroupFamily(String dBParameterGroupFamily)
The name of the DB parameter group family for the database engine.
- Parameters:
dBParameterGroupFamily
- The name of the DB parameter group family for the database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBEngineDescription
public void setDBEngineDescription(String dBEngineDescription)
The description of the database engine.
- Parameters:
dBEngineDescription
- The description of the database engine.
-
getDBEngineDescription
public String getDBEngineDescription()
The description of the database engine.
- Returns:
- The description of the database engine.
-
withDBEngineDescription
public DBEngineVersion withDBEngineDescription(String dBEngineDescription)
The description of the database engine.
- Parameters:
dBEngineDescription
- The description of the database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBEngineVersionDescription
public void setDBEngineVersionDescription(String dBEngineVersionDescription)
The description of the database engine version.
- Parameters:
dBEngineVersionDescription
- The description of the database engine version.
-
getDBEngineVersionDescription
public String getDBEngineVersionDescription()
The description of the database engine version.
- Returns:
- The description of the database engine version.
-
withDBEngineVersionDescription
public DBEngineVersion withDBEngineVersionDescription(String dBEngineVersionDescription)
The description of the database engine version.
- Parameters:
dBEngineVersionDescription
- The description of the database engine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDefaultCharacterSet
public void setDefaultCharacterSet(CharacterSet defaultCharacterSet)
The default character set for new instances of this engine version, if the
CharacterSetName
parameter of the CreateDBInstance API is not specified.- Parameters:
defaultCharacterSet
- The default character set for new instances of this engine version, if theCharacterSetName
parameter of the CreateDBInstance API is not specified.
-
getDefaultCharacterSet
public CharacterSet getDefaultCharacterSet()
The default character set for new instances of this engine version, if the
CharacterSetName
parameter of the CreateDBInstance API is not specified.- Returns:
- The default character set for new instances of this engine
version, if the
CharacterSetName
parameter of the CreateDBInstance API is not specified.
-
withDefaultCharacterSet
public DBEngineVersion withDefaultCharacterSet(CharacterSet defaultCharacterSet)
The default character set for new instances of this engine version, if the
CharacterSetName
parameter of the CreateDBInstance API is not specified.- Parameters:
defaultCharacterSet
- The default character set for new instances of this engine version, if theCharacterSetName
parameter of the CreateDBInstance API is not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSupportedCharacterSets
public List<CharacterSet> getSupportedCharacterSets()
A list of the character sets supported by this engine for the
CharacterSetName
parameter of the CreateDBInstance API.- Returns:
- A list of the character sets supported by this engine for the
CharacterSetName
parameter of the CreateDBInstance API.
-
setSupportedCharacterSets
public void setSupportedCharacterSets(Collection<CharacterSet> supportedCharacterSets)
A list of the character sets supported by this engine for the
CharacterSetName
parameter of the CreateDBInstance API.- Parameters:
supportedCharacterSets
- A list of the character sets supported by this engine for theCharacterSetName
parameter of the CreateDBInstance API.
-
withSupportedCharacterSets
public DBEngineVersion withSupportedCharacterSets(CharacterSet... supportedCharacterSets)
A list of the character sets supported by this engine for the
CharacterSetName
parameter of the CreateDBInstance API.NOTE: This method appends the values to the existing list (if any). Use
setSupportedCharacterSets(java.util.Collection)
orwithSupportedCharacterSets(java.util.Collection)
if you want to override the existing values.- Parameters:
supportedCharacterSets
- A list of the character sets supported by this engine for theCharacterSetName
parameter of the CreateDBInstance API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSupportedCharacterSets
public DBEngineVersion withSupportedCharacterSets(Collection<CharacterSet> supportedCharacterSets)
A list of the character sets supported by this engine for the
CharacterSetName
parameter of the CreateDBInstance API.- Parameters:
supportedCharacterSets
- A list of the character sets supported by this engine for theCharacterSetName
parameter of the CreateDBInstance API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getValidUpgradeTarget
public List<UpgradeTarget> getValidUpgradeTarget()
A list of engine versions that this database engine version can be upgraded to.
- Returns:
- A list of engine versions that this database engine version can be upgraded to.
-
setValidUpgradeTarget
public void setValidUpgradeTarget(Collection<UpgradeTarget> validUpgradeTarget)
A list of engine versions that this database engine version can be upgraded to.
- Parameters:
validUpgradeTarget
- A list of engine versions that this database engine version can be upgraded to.
-
withValidUpgradeTarget
public DBEngineVersion withValidUpgradeTarget(UpgradeTarget... validUpgradeTarget)
A list of engine versions that this database engine version can be upgraded to.
NOTE: This method appends the values to the existing list (if any). Use
setValidUpgradeTarget(java.util.Collection)
orwithValidUpgradeTarget(java.util.Collection)
if you want to override the existing values.- Parameters:
validUpgradeTarget
- A list of engine versions that this database engine version can be upgraded to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withValidUpgradeTarget
public DBEngineVersion withValidUpgradeTarget(Collection<UpgradeTarget> validUpgradeTarget)
A list of engine versions that this database engine version can be upgraded to.
- Parameters:
validUpgradeTarget
- A list of engine versions that this database engine version can be upgraded to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DBEngineVersion clone()
-
-