Class UpgradeTarget
- All Implemented Interfaces:
Serializable
,Cloneable
The version of the database engine that a DB instance can be upgraded to.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.The version of the database engine that a DB instance can be upgraded to.The name of the upgrade target database engine.The version number of the upgrade target database engine.A value that indicates whether a database engine will be upgraded to a major version.int
hashCode()
A value that indicates whether the target version will be applied to any source DB instances that have AutoMinorVersionUpgrade set to true.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
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.toString()
Returns a string representation of this object; useful for testing and debugging.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.withDescription
(String description) The version of the database engine that a DB instance can be upgraded to.withEngine
(String engine) The name of the upgrade target database engine.withEngineVersion
(String engineVersion) The version number of the upgrade target database engine.withIsMajorVersionUpgrade
(Boolean isMajorVersionUpgrade) A value that indicates whether a database engine will be upgraded to a major version.
-
Constructor Details
-
UpgradeTarget
public UpgradeTarget()
-
-
Method Details
-
setEngine
The name of the upgrade target database engine.
- Parameters:
engine
- The name of the upgrade target database engine.
-
getEngine
The name of the upgrade target database engine.
- Returns:
- The name of the upgrade target database engine.
-
withEngine
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
The version number of the upgrade target database engine.
- Parameters:
engineVersion
- The version number of the upgrade target database engine.
-
getEngineVersion
The version number of the upgrade target database engine.
- Returns:
- The version number of the upgrade target database engine.
-
withEngineVersion
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
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
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
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
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
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
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-