@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.
|
Boolean |
getSupportsGlobalDatabases()
A value that indicates whether you can use Neptune global databases with the target engine 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.
|
Boolean |
isSupportsGlobalDatabases()
A value that indicates whether you can use Neptune global databases with the target engine 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.
|
void |
setSupportsGlobalDatabases(Boolean supportsGlobalDatabases)
A value that indicates whether you can use Neptune global databases with the target engine version.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
UpgradeTarget |
withSupportsGlobalDatabases(Boolean supportsGlobalDatabases)
A value that indicates whether you can use Neptune global databases with the target engine 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 void setSupportsGlobalDatabases(Boolean supportsGlobalDatabases)
A value that indicates whether you can use Neptune global databases with the target engine version.
supportsGlobalDatabases
- A value that indicates whether you can use Neptune global databases with the target engine version.public Boolean getSupportsGlobalDatabases()
A value that indicates whether you can use Neptune global databases with the target engine version.
public UpgradeTarget withSupportsGlobalDatabases(Boolean supportsGlobalDatabases)
A value that indicates whether you can use Neptune global databases with the target engine version.
supportsGlobalDatabases
- A value that indicates whether you can use Neptune global databases with the target engine version.public Boolean isSupportsGlobalDatabases()
A value that indicates whether you can use Neptune global databases with the target engine version.
public String toString()
toString
in class Object
Object.toString()
public UpgradeTarget clone()