@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 upgrading to the target version requires upgrading the major version of the
database engine.
|
List<String> |
getSupportedEngineModes()
A list of the supported DB engine modes for the target engine version.
|
Boolean |
getSupportsGlobalDatabases()
A value that indicates whether you can use Aurora global databases with the target engine version.
|
Boolean |
getSupportsParallelQuery()
A value that indicates whether you can use Aurora parallel query 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 upgrading to the target version requires upgrading the major version of the
database engine.
|
Boolean |
isSupportsGlobalDatabases()
A value that indicates whether you can use Aurora global databases with the target engine version.
|
Boolean |
isSupportsParallelQuery()
A value that indicates whether you can use Aurora parallel query 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 upgrading to the target version requires upgrading the major version of the
database engine.
|
void |
setSupportedEngineModes(Collection<String> supportedEngineModes)
A list of the supported DB engine modes for the target engine version.
|
void |
setSupportsGlobalDatabases(Boolean supportsGlobalDatabases)
A value that indicates whether you can use Aurora global databases with the target engine version.
|
void |
setSupportsParallelQuery(Boolean supportsParallelQuery)
A value that indicates whether you can use Aurora parallel query 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 upgrading to the target version requires upgrading the major version of the
database engine.
|
UpgradeTarget |
withSupportedEngineModes(Collection<String> supportedEngineModes)
A list of the supported DB engine modes for the target engine version.
|
UpgradeTarget |
withSupportedEngineModes(String... supportedEngineModes)
A list of the supported DB engine modes for the target engine version.
|
UpgradeTarget |
withSupportsGlobalDatabases(Boolean supportsGlobalDatabases)
A value that indicates whether you can use Aurora global databases with the target engine version.
|
UpgradeTarget |
withSupportsParallelQuery(Boolean supportsParallelQuery)
A value that indicates whether you can use Aurora parallel query 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.
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.
AutoMinorVersionUpgrade
set to true.public void setIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)
A value that indicates whether upgrading to the target version requires upgrading the major version of the database engine.
isMajorVersionUpgrade
- A value that indicates whether upgrading to the target version requires upgrading the major version of the
database engine.public Boolean getIsMajorVersionUpgrade()
A value that indicates whether upgrading to the target version requires upgrading the major version of the database engine.
public UpgradeTarget withIsMajorVersionUpgrade(Boolean isMajorVersionUpgrade)
A value that indicates whether upgrading to the target version requires upgrading the major version of the database engine.
isMajorVersionUpgrade
- A value that indicates whether upgrading to the target version requires upgrading the major version of the
database engine.public Boolean isMajorVersionUpgrade()
A value that indicates whether upgrading to the target version requires upgrading the major version of the database engine.
public List<String> getSupportedEngineModes()
A list of the supported DB engine modes for the target engine version.
public void setSupportedEngineModes(Collection<String> supportedEngineModes)
A list of the supported DB engine modes for the target engine version.
supportedEngineModes
- A list of the supported DB engine modes for the target engine version.public UpgradeTarget withSupportedEngineModes(String... supportedEngineModes)
A list of the supported DB engine modes for the target engine version.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedEngineModes(java.util.Collection)
or withSupportedEngineModes(java.util.Collection)
if you want to override the existing values.
supportedEngineModes
- A list of the supported DB engine modes for the target engine version.public UpgradeTarget withSupportedEngineModes(Collection<String> supportedEngineModes)
A list of the supported DB engine modes for the target engine version.
supportedEngineModes
- A list of the supported DB engine modes for the target engine version.public void setSupportsParallelQuery(Boolean supportsParallelQuery)
A value that indicates whether you can use Aurora parallel query with the target engine version.
supportsParallelQuery
- A value that indicates whether you can use Aurora parallel query with the target engine version.public Boolean getSupportsParallelQuery()
A value that indicates whether you can use Aurora parallel query with the target engine version.
public UpgradeTarget withSupportsParallelQuery(Boolean supportsParallelQuery)
A value that indicates whether you can use Aurora parallel query with the target engine version.
supportsParallelQuery
- A value that indicates whether you can use Aurora parallel query with the target engine version.public Boolean isSupportsParallelQuery()
A value that indicates whether you can use Aurora parallel query with the target engine version.
public void setSupportsGlobalDatabases(Boolean supportsGlobalDatabases)
A value that indicates whether you can use Aurora global databases with the target engine version.
supportsGlobalDatabases
- A value that indicates whether you can use Aurora global databases with the target engine version.public Boolean getSupportsGlobalDatabases()
A value that indicates whether you can use Aurora global databases with the target engine version.
public UpgradeTarget withSupportsGlobalDatabases(Boolean supportsGlobalDatabases)
A value that indicates whether you can use Aurora global databases with the target engine version.
supportsGlobalDatabases
- A value that indicates whether you can use Aurora global databases with the target engine version.public Boolean isSupportsGlobalDatabases()
A value that indicates whether you can use Aurora global databases with the target engine version.
public String toString()
toString
in class Object
Object.toString()
public UpgradeTarget clone()