@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpgradeTarget extends Object implements Serializable, Cloneable
The version of the database engine that a DB instance can be upgraded to.
Constructor and Description |
---|
UpgradeTarget() |
Modifier and Type | Method and Description |
---|---|
UpgradeTarget |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoUpgrade()
A value that indicates whether the target version is 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 is upgraded to a major version.
|
int |
hashCode() |
Boolean |
isAutoUpgrade()
A value that indicates whether the target version is applied to any source DB instances that have
AutoMinorVersionUpgrade set to true.
|
Boolean |
isMajorVersionUpgrade()
A value that indicates whether a database engine is upgraded to a major version.
|
void |
setAutoUpgrade(Boolean autoUpgrade)
A value that indicates whether the target version is 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 is 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 is 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 is upgraded to a major version.
|
public void setEngine(String engine)
The name of the upgrade target database engine.
engine
- The name of the upgrade target database engine.public String getEngine()
The name of the upgrade target database engine.
public UpgradeTarget withEngine(String engine)
The name of the upgrade target database engine.
engine
- The name of the upgrade target database engine.public void setEngineVersion(String engineVersion)
The version number of the upgrade target database engine.
engineVersion
- The version number of the upgrade target database engine.public String getEngineVersion()
The version number of the upgrade target database engine.
public UpgradeTarget withEngineVersion(String engineVersion)
The version number of the upgrade target database engine.
engineVersion
- The version number of the upgrade target database engine.public void setDescription(String description)
The version of the database engine that a DB instance can be upgraded to.
description
- The version of the database engine that a DB instance can be upgraded to.public String getDescription()
The version of the database engine that a DB instance can be upgraded to.
public UpgradeTarget withDescription(String description)
The version of the database engine that a DB instance can be upgraded to.
description
- The version of the database engine that a DB instance can be upgraded to.public void setAutoUpgrade(Boolean autoUpgrade)
A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
autoUpgrade
- A value that indicates whether the target version is applied to any source DB instances that have
AutoMinorVersionUpgrade set to true.public Boolean getAutoUpgrade()
A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
public UpgradeTarget withAutoUpgrade(Boolean autoUpgrade)
A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
autoUpgrade
- A value that indicates whether the target version is applied to any source DB instances that have
AutoMinorVersionUpgrade set to true.public Boolean isAutoUpgrade()
A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
public void setIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)
A value that indicates whether a database engine is upgraded to a major version.
isMajorVersionUpgrade
- A value that indicates whether a database engine is upgraded to a major version.public Boolean getIsMajorVersionUpgrade()
A value that indicates whether a database engine is upgraded to a major version.
public UpgradeTarget withIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)
A value that indicates whether a database engine is upgraded to a major version.
isMajorVersionUpgrade
- A value that indicates whether a database engine is upgraded to a major version.public Boolean isMajorVersionUpgrade()
A value that indicates whether a database engine is upgraded to a major version.
public String toString()
toString
in class Object
Object.toString()
public UpgradeTarget clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.