@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EngineVersion extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a replication instance version.
Constructor and Description |
---|
EngineVersion() |
Modifier and Type | Method and Description |
---|---|
EngineVersion |
clone() |
boolean |
equals(Object obj) |
Date |
getAutoUpgradeDate()
The date when the replication instance will be automatically upgraded.
|
List<String> |
getAvailableUpgrades()
The list of valid replication instance versions that you can upgrade to.
|
Date |
getDeprecationDate()
The date when the replication instance version will be deprecated and can no longer be requested.
|
Date |
getForceUpgradeDate()
The date when the replication instance will have a version upgrade forced.
|
Date |
getLaunchDate()
The date when the replication instance version became publicly available.
|
String |
getLifecycle()
The lifecycle status of the replication instance version.
|
String |
getReleaseStatus()
The release status of the replication instance version.
|
String |
getVersion()
The version number of the replication instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoUpgradeDate(Date autoUpgradeDate)
The date when the replication instance will be automatically upgraded.
|
void |
setAvailableUpgrades(Collection<String> availableUpgrades)
The list of valid replication instance versions that you can upgrade to.
|
void |
setDeprecationDate(Date deprecationDate)
The date when the replication instance version will be deprecated and can no longer be requested.
|
void |
setForceUpgradeDate(Date forceUpgradeDate)
The date when the replication instance will have a version upgrade forced.
|
void |
setLaunchDate(Date launchDate)
The date when the replication instance version became publicly available.
|
void |
setLifecycle(String lifecycle)
The lifecycle status of the replication instance version.
|
void |
setReleaseStatus(String releaseStatus)
The release status of the replication instance version.
|
void |
setVersion(String version)
The version number of the replication instance.
|
String |
toString()
Returns a string representation of this object.
|
EngineVersion |
withAutoUpgradeDate(Date autoUpgradeDate)
The date when the replication instance will be automatically upgraded.
|
EngineVersion |
withAvailableUpgrades(Collection<String> availableUpgrades)
The list of valid replication instance versions that you can upgrade to.
|
EngineVersion |
withAvailableUpgrades(String... availableUpgrades)
The list of valid replication instance versions that you can upgrade to.
|
EngineVersion |
withDeprecationDate(Date deprecationDate)
The date when the replication instance version will be deprecated and can no longer be requested.
|
EngineVersion |
withForceUpgradeDate(Date forceUpgradeDate)
The date when the replication instance will have a version upgrade forced.
|
EngineVersion |
withLaunchDate(Date launchDate)
The date when the replication instance version became publicly available.
|
EngineVersion |
withLifecycle(String lifecycle)
The lifecycle status of the replication instance version.
|
EngineVersion |
withReleaseStatus(ReleaseStatusValues releaseStatus)
The release status of the replication instance version.
|
EngineVersion |
withReleaseStatus(String releaseStatus)
The release status of the replication instance version.
|
EngineVersion |
withVersion(String version)
The version number of the replication instance.
|
public void setVersion(String version)
The version number of the replication instance.
version
- The version number of the replication instance.public String getVersion()
The version number of the replication instance.
public EngineVersion withVersion(String version)
The version number of the replication instance.
version
- The version number of the replication instance.public void setLifecycle(String lifecycle)
The lifecycle status of the replication instance version. Valid values are DEPRECATED
,
DEFAULT_VERSION
, and ACTIVE
.
lifecycle
- The lifecycle status of the replication instance version. Valid values are DEPRECATED
,
DEFAULT_VERSION
, and ACTIVE
.public String getLifecycle()
The lifecycle status of the replication instance version. Valid values are DEPRECATED
,
DEFAULT_VERSION
, and ACTIVE
.
DEPRECATED
,
DEFAULT_VERSION
, and ACTIVE
.public EngineVersion withLifecycle(String lifecycle)
The lifecycle status of the replication instance version. Valid values are DEPRECATED
,
DEFAULT_VERSION
, and ACTIVE
.
lifecycle
- The lifecycle status of the replication instance version. Valid values are DEPRECATED
,
DEFAULT_VERSION
, and ACTIVE
.public void setReleaseStatus(String releaseStatus)
The release status of the replication instance version.
releaseStatus
- The release status of the replication instance version.ReleaseStatusValues
public String getReleaseStatus()
The release status of the replication instance version.
ReleaseStatusValues
public EngineVersion withReleaseStatus(String releaseStatus)
The release status of the replication instance version.
releaseStatus
- The release status of the replication instance version.ReleaseStatusValues
public EngineVersion withReleaseStatus(ReleaseStatusValues releaseStatus)
The release status of the replication instance version.
releaseStatus
- The release status of the replication instance version.ReleaseStatusValues
public void setLaunchDate(Date launchDate)
The date when the replication instance version became publicly available.
launchDate
- The date when the replication instance version became publicly available.public Date getLaunchDate()
The date when the replication instance version became publicly available.
public EngineVersion withLaunchDate(Date launchDate)
The date when the replication instance version became publicly available.
launchDate
- The date when the replication instance version became publicly available.public void setAutoUpgradeDate(Date autoUpgradeDate)
The date when the replication instance will be automatically upgraded. This setting only applies if the
auto-minor-version
setting is enabled.
autoUpgradeDate
- The date when the replication instance will be automatically upgraded. This setting only applies if the
auto-minor-version
setting is enabled.public Date getAutoUpgradeDate()
The date when the replication instance will be automatically upgraded. This setting only applies if the
auto-minor-version
setting is enabled.
auto-minor-version
setting is enabled.public EngineVersion withAutoUpgradeDate(Date autoUpgradeDate)
The date when the replication instance will be automatically upgraded. This setting only applies if the
auto-minor-version
setting is enabled.
autoUpgradeDate
- The date when the replication instance will be automatically upgraded. This setting only applies if the
auto-minor-version
setting is enabled.public void setDeprecationDate(Date deprecationDate)
The date when the replication instance version will be deprecated and can no longer be requested.
deprecationDate
- The date when the replication instance version will be deprecated and can no longer be requested.public Date getDeprecationDate()
The date when the replication instance version will be deprecated and can no longer be requested.
public EngineVersion withDeprecationDate(Date deprecationDate)
The date when the replication instance version will be deprecated and can no longer be requested.
deprecationDate
- The date when the replication instance version will be deprecated and can no longer be requested.public void setForceUpgradeDate(Date forceUpgradeDate)
The date when the replication instance will have a version upgrade forced.
forceUpgradeDate
- The date when the replication instance will have a version upgrade forced.public Date getForceUpgradeDate()
The date when the replication instance will have a version upgrade forced.
public EngineVersion withForceUpgradeDate(Date forceUpgradeDate)
The date when the replication instance will have a version upgrade forced.
forceUpgradeDate
- The date when the replication instance will have a version upgrade forced.public List<String> getAvailableUpgrades()
The list of valid replication instance versions that you can upgrade to.
public void setAvailableUpgrades(Collection<String> availableUpgrades)
The list of valid replication instance versions that you can upgrade to.
availableUpgrades
- The list of valid replication instance versions that you can upgrade to.public EngineVersion withAvailableUpgrades(String... availableUpgrades)
The list of valid replication instance versions that you can upgrade to.
NOTE: This method appends the values to the existing list (if any). Use
setAvailableUpgrades(java.util.Collection)
or withAvailableUpgrades(java.util.Collection)
if
you want to override the existing values.
availableUpgrades
- The list of valid replication instance versions that you can upgrade to.public EngineVersion withAvailableUpgrades(Collection<String> availableUpgrades)
The list of valid replication instance versions that you can upgrade to.
availableUpgrades
- The list of valid replication instance versions that you can upgrade to.public String toString()
toString
in class Object
Object.toString()
public EngineVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.