Class UpgradeTarget
- java.lang.Object
-
- com.amazonaws.services.rds.model.UpgradeTarget
-
- All Implemented Interfaces:
Serializable,Cloneable
public class UpgradeTarget extends Object implements Serializable, Cloneable
The version of the database engine that a DB instance can be upgraded to.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpgradeTarget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpgradeTargetclone()booleanequals(Object obj)BooleangetAutoUpgrade()A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.StringgetDescription()The version of the database engine that a DB instance can be upgraded to.StringgetEngine()The name of the upgrade target database engine.StringgetEngineVersion()The version number of the upgrade target database engine.BooleangetIsMajorVersionUpgrade()A value that indicates whether a database engine will be upgraded to a major version.inthashCode()BooleanisAutoUpgrade()A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.BooleanisMajorVersionUpgrade()A value that indicates whether a database engine will be upgraded to a major version.voidsetAutoUpgrade(Boolean autoUpgrade)A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.voidsetDescription(String description)The version of the database engine that a DB instance can be upgraded to.voidsetEngine(String engine)The name of the upgrade target database engine.voidsetEngineVersion(String engineVersion)The version number of the upgrade target database engine.voidsetIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)A value that indicates whether a database engine will be upgraded to a major version.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpgradeTargetwithAutoUpgrade(Boolean autoUpgrade)A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.UpgradeTargetwithDescription(String description)The version of the database engine that a DB instance can be upgraded to.UpgradeTargetwithEngine(String engine)The name of the upgrade target database engine.UpgradeTargetwithEngineVersion(String engineVersion)The version number of the upgrade target database engine.UpgradeTargetwithIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)A value that indicates whether a database engine will be upgraded to a major version.
-
-
-
Method Detail
-
setEngine
public void setEngine(String engine)
The name of the upgrade target database engine.
- Parameters:
engine- The name of the upgrade target database engine.
-
getEngine
public String getEngine()
The name of the upgrade target database engine.
- Returns:
- The name of the upgrade target database engine.
-
withEngine
public UpgradeTarget withEngine(String engine)
The name of the upgrade target database engine.
- Parameters:
engine- The name of the upgrade target 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 upgrade target database engine.
- Parameters:
engineVersion- The version number of the upgrade target database engine.
-
getEngineVersion
public String getEngineVersion()
The version number of the upgrade target database engine.
- Returns:
- The version number of the upgrade target database engine.
-
withEngineVersion
public UpgradeTarget withEngineVersion(String engineVersion)
The version number of the upgrade target database engine.
- Parameters:
engineVersion- The version number of the upgrade target database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
The version of the database engine that a DB instance can be upgraded to.
- Parameters:
description- The version of the database engine that a DB instance can be upgraded to.
-
getDescription
public String getDescription()
The version of the database engine that a DB instance can be upgraded to.
- Returns:
- The version of the database engine that a DB instance can be upgraded to.
-
withDescription
public UpgradeTarget withDescription(String description)
The version of the database engine that a DB instance can be upgraded to.
- Parameters:
description- The version of the database engine that a DB instance can be upgraded to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAutoUpgrade
public void setAutoUpgrade(Boolean autoUpgrade)
A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
- Parameters:
autoUpgrade- A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
-
getAutoUpgrade
public Boolean getAutoUpgrade()
A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
- Returns:
- A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
-
withAutoUpgrade
public UpgradeTarget withAutoUpgrade(Boolean autoUpgrade)
A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
- Parameters:
autoUpgrade- A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAutoUpgrade
public Boolean isAutoUpgrade()
A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
- Returns:
- A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
-
setIsMajorVersionUpgrade
public void setIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)
A value that indicates whether a database engine will be upgraded to a major version.
- Parameters:
isMajorVersionUpgrade- A value that indicates whether a database engine will be upgraded to a major version.
-
getIsMajorVersionUpgrade
public Boolean getIsMajorVersionUpgrade()
A value that indicates whether a database engine will be upgraded to a major version.
- Returns:
- A value that indicates whether a database engine will be upgraded to a major version.
-
withIsMajorVersionUpgrade
public UpgradeTarget withIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)
A value that indicates whether a database engine will be upgraded to a major version.
- Parameters:
isMajorVersionUpgrade- A value that indicates whether a database engine will be upgraded to a major version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isMajorVersionUpgrade
public Boolean isMajorVersionUpgrade()
A value that indicates whether a database engine will be upgraded to a major version.
- Returns:
- A value that indicates whether a database engine will be upgraded to a major version.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpgradeTarget clone()
-
-