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 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.
|
public String getEngine()
public void setEngine(String engine)
engine
- The name of the upgrade target database engine.public UpgradeTarget withEngine(String engine)
Returns a reference to this object so that method calls can be chained together.
engine
- The name of the upgrade target database engine.public String getEngineVersion()
public void setEngineVersion(String engineVersion)
engineVersion
- The version number of the upgrade target database engine.public UpgradeTarget withEngineVersion(String engineVersion)
Returns a reference to this object so that method calls can be chained together.
engineVersion
- The version number of the upgrade target database engine.public String getDescription()
public void setDescription(String description)
description
- The version of the database engine that a DB instance can be upgraded
to.public UpgradeTarget withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The version of the database engine that a DB instance can be upgraded
to.public Boolean isAutoUpgrade()
public void setAutoUpgrade(Boolean autoUpgrade)
autoUpgrade
- A value that indicates whether the target version will be applied to
any source DB instances that have AutoMinorVersionUpgrade set to true.public UpgradeTarget withAutoUpgrade(Boolean autoUpgrade)
Returns a reference to this object so that method calls can be chained together.
autoUpgrade
- A value that indicates whether the target version will be applied to
any source DB instances that have AutoMinorVersionUpgrade set to true.public Boolean getAutoUpgrade()
public Boolean isMajorVersionUpgrade()
public void setIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)
isMajorVersionUpgrade
- A value that indicates whether a database engine will be upgraded to a
major version.public UpgradeTarget withIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)
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.public Boolean getIsMajorVersionUpgrade()
public String toString()
toString
in class Object
Object.toString()
public UpgradeTarget clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.