@Generated(value="software.amazon.awssdk:codegen") public final class UpdateAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdateAction.Builder,UpdateAction>
The status of the service update for a specific replication group
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateAction.Builder |
builder() |
String |
cacheClusterId()
The ID of the cache cluster
|
List<CacheNodeUpdateStatus> |
cacheNodeUpdateStatus()
The status of the service update on the cache node
|
String |
engine()
The Elasticache engine to which the update applies.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
estimatedUpdateTime()
The estimated length of time for the update to complete
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCacheNodeUpdateStatus()
For responses, this returns true if the service returned a value for the CacheNodeUpdateStatus property.
|
int |
hashCode() |
boolean |
hasNodeGroupUpdateStatus()
For responses, this returns true if the service returned a value for the NodeGroupUpdateStatus property.
|
List<NodeGroupUpdateStatus> |
nodeGroupUpdateStatus()
The status of the service update on the node group
|
String |
nodesUpdated()
The progress of the service update on the replication group
|
String |
replicationGroupId()
The ID of the replication group
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateAction.Builder> |
serializableBuilderClass() |
String |
serviceUpdateName()
The unique ID of the service update
|
Instant |
serviceUpdateRecommendedApplyByDate()
The recommended date to apply the service update to ensure compliance.
|
Instant |
serviceUpdateReleaseDate()
The date the update is first available
|
ServiceUpdateSeverity |
serviceUpdateSeverity()
The severity of the service update
|
String |
serviceUpdateSeverityAsString()
The severity of the service update
|
ServiceUpdateStatus |
serviceUpdateStatus()
The status of the service update
|
String |
serviceUpdateStatusAsString()
The status of the service update
|
ServiceUpdateType |
serviceUpdateType()
Reflects the nature of the service update
|
String |
serviceUpdateTypeAsString()
Reflects the nature of the service update
|
SlaMet |
slaMet()
If yes, all nodes in the replication group have been updated by the recommended apply-by date.
|
String |
slaMetAsString()
If yes, all nodes in the replication group have been updated by the recommended apply-by date.
|
UpdateAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updateActionAvailableDate()
The date that the service update is available to a replication group
|
UpdateActionStatus |
updateActionStatus()
The status of the update action
|
String |
updateActionStatusAsString()
The status of the update action
|
Instant |
updateActionStatusModifiedDate()
The date when the UpdateActionStatus was last modified
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String replicationGroupId()
The ID of the replication group
public final String cacheClusterId()
The ID of the cache cluster
public final String serviceUpdateName()
The unique ID of the service update
public final Instant serviceUpdateReleaseDate()
The date the update is first available
public final ServiceUpdateSeverity serviceUpdateSeverity()
The severity of the service update
If the service returns an enum value that is not available in the current SDK version,
serviceUpdateSeverity will return ServiceUpdateSeverity.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from serviceUpdateSeverityAsString().
ServiceUpdateSeveritypublic final String serviceUpdateSeverityAsString()
The severity of the service update
If the service returns an enum value that is not available in the current SDK version,
serviceUpdateSeverity will return ServiceUpdateSeverity.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from serviceUpdateSeverityAsString().
ServiceUpdateSeveritypublic final ServiceUpdateStatus serviceUpdateStatus()
The status of the service update
If the service returns an enum value that is not available in the current SDK version,
serviceUpdateStatus will return ServiceUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from serviceUpdateStatusAsString().
ServiceUpdateStatuspublic final String serviceUpdateStatusAsString()
The status of the service update
If the service returns an enum value that is not available in the current SDK version,
serviceUpdateStatus will return ServiceUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from serviceUpdateStatusAsString().
ServiceUpdateStatuspublic final Instant serviceUpdateRecommendedApplyByDate()
The recommended date to apply the service update to ensure compliance. For information on compliance, see Self-Service Security Updates for Compliance.
public final ServiceUpdateType serviceUpdateType()
Reflects the nature of the service update
If the service returns an enum value that is not available in the current SDK version, serviceUpdateType
will return ServiceUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from serviceUpdateTypeAsString().
ServiceUpdateTypepublic final String serviceUpdateTypeAsString()
Reflects the nature of the service update
If the service returns an enum value that is not available in the current SDK version, serviceUpdateType
will return ServiceUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from serviceUpdateTypeAsString().
ServiceUpdateTypepublic final Instant updateActionAvailableDate()
The date that the service update is available to a replication group
public final UpdateActionStatus updateActionStatus()
The status of the update action
If the service returns an enum value that is not available in the current SDK version,
updateActionStatus will return UpdateActionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from updateActionStatusAsString().
UpdateActionStatuspublic final String updateActionStatusAsString()
The status of the update action
If the service returns an enum value that is not available in the current SDK version,
updateActionStatus will return UpdateActionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from updateActionStatusAsString().
UpdateActionStatuspublic final String nodesUpdated()
The progress of the service update on the replication group
public final Instant updateActionStatusModifiedDate()
The date when the UpdateActionStatus was last modified
public final SlaMet slaMet()
If yes, all nodes in the replication group have been updated by the recommended apply-by date. If no, at least one node in the replication group have not been updated by the recommended apply-by date. If N/A, the replication group was created after the recommended apply-by date.
If the service returns an enum value that is not available in the current SDK version, slaMet will
return SlaMet.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
slaMetAsString().
SlaMetpublic final String slaMetAsString()
If yes, all nodes in the replication group have been updated by the recommended apply-by date. If no, at least one node in the replication group have not been updated by the recommended apply-by date. If N/A, the replication group was created after the recommended apply-by date.
If the service returns an enum value that is not available in the current SDK version, slaMet will
return SlaMet.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
slaMetAsString().
SlaMetpublic final boolean hasNodeGroupUpdateStatus()
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<NodeGroupUpdateStatus> nodeGroupUpdateStatus()
The status of the service update on the node group
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 hasNodeGroupUpdateStatus() method.
public final boolean hasCacheNodeUpdateStatus()
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<CacheNodeUpdateStatus> cacheNodeUpdateStatus()
The status of the service update on the cache node
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 hasCacheNodeUpdateStatus() method.
public final String estimatedUpdateTime()
The estimated length of time for the update to complete
public final String engine()
The Elasticache engine to which the update applies. Either Redis or Memcached
public UpdateAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateAction.Builder,UpdateAction>public static UpdateAction.Builder builder()
public static Class<? extends UpdateAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.