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 UpgradeTarget
clone()
boolean
equals(Object obj)
Boolean
getAutoUpgrade()
A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.String
getDescription()
The version of the database engine that a DB instance can be upgraded to.String
getEngine()
The name of the upgrade target database engine.String
getEngineVersion()
The version number of the upgrade target database engine.Boolean
getIsMajorVersionUpgrade()
A value that indicates whether a database engine will be upgraded to a major version.int
hashCode()
Boolean
isAutoUpgrade()
A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.Boolean
isMajorVersionUpgrade()
A value that indicates whether a database engine will be upgraded to a major version.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.void
setDescription(String description)
The version of the database engine that a DB instance can be upgraded to.void
setEngine(String engine)
The name of the upgrade target database engine.void
setEngineVersion(String engineVersion)
The version number of the upgrade target database engine.void
setIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)
A value that indicates whether a database engine will be upgraded to a major version.String
toString()
Returns a string representation of this object; useful for testing and debugging.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.UpgradeTarget
withDescription(String description)
The version of the database engine that a DB instance can be upgraded to.UpgradeTarget
withEngine(String engine)
The name of the upgrade target database engine.UpgradeTarget
withEngineVersion(String engineVersion)
The version number of the upgrade target database engine.UpgradeTarget
withIsMajorVersionUpgrade(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpgradeTarget clone()
-
-