@Generated(value="software.amazon.awssdk:codegen") public final class EngineVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EngineVersion.Builder,EngineVersion>
Provides information about a replication instance version.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EngineVersion.Builder |
| Modifier and Type | Method and Description |
|---|---|
Instant |
autoUpgradeDate()
The date when the replication instance will be automatically upgraded.
|
List<String> |
availableUpgrades()
The list of valid replication instance versions that you can upgrade to.
|
static EngineVersion.Builder |
builder() |
Instant |
deprecationDate()
The date when the replication instance version will be deprecated and can no longer be requested.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
forceUpgradeDate()
The date when the replication instance will have a version upgrade forced.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAvailableUpgrades()
For responses, this returns true if the service returned a value for the AvailableUpgrades property.
|
int |
hashCode() |
Instant |
launchDate()
The date when the replication instance version became publicly available.
|
String |
lifecycle()
The lifecycle status of the replication instance version.
|
ReleaseStatusValues |
releaseStatus()
The release status of the replication instance version.
|
String |
releaseStatusAsString()
The release status of the replication instance version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EngineVersion.Builder> |
serializableBuilderClass() |
EngineVersion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version number of the replication instance.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String version()
The version number of the replication instance.
public final String lifecycle()
The lifecycle status of the replication instance version. Valid values are DEPRECATED,
DEFAULT_VERSION, and ACTIVE.
DEPRECATED,
DEFAULT_VERSION, and ACTIVE.public final ReleaseStatusValues releaseStatus()
The release status of the replication instance version.
If the service returns an enum value that is not available in the current SDK version, releaseStatus
will return ReleaseStatusValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from releaseStatusAsString().
ReleaseStatusValuespublic final String releaseStatusAsString()
The release status of the replication instance version.
If the service returns an enum value that is not available in the current SDK version, releaseStatus
will return ReleaseStatusValues.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from releaseStatusAsString().
ReleaseStatusValuespublic final Instant launchDate()
The date when the replication instance version became publicly available.
public final Instant autoUpgradeDate()
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 final Instant deprecationDate()
The date when the replication instance version will be deprecated and can no longer be requested.
public final Instant forceUpgradeDate()
The date when the replication instance will have a version upgrade forced.
public final boolean hasAvailableUpgrades()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> availableUpgrades()
The list of valid replication instance versions that you can upgrade to.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAvailableUpgrades() method.
public EngineVersion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EngineVersion.Builder,EngineVersion>public static EngineVersion.Builder builder()
public static Class<? extends EngineVersion.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.