Class UpdateAction
- java.lang.Object
-
- software.amazon.awssdk.services.elasticache.model.UpdateAction
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<UpdateAction.Builder,UpdateAction>
@Generated("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
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UpdateAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateAction.Builder
builder()
String
cacheClusterId()
The ID of the cache clusterList<CacheNodeUpdateStatus>
cacheNodeUpdateStatus()
The status of the service update on the cache nodeString
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 groupString
nodesUpdated()
The progress of the service update on the replication groupString
replicationGroupId()
The ID of the replication groupList<SdkField<?>>
sdkFields()
static Class<? extends UpdateAction.Builder>
serializableBuilderClass()
String
serviceUpdateName()
The unique ID of the service updateInstant
serviceUpdateRecommendedApplyByDate()
The recommended date to apply the service update to ensure compliance.Instant
serviceUpdateReleaseDate()
The date the update is first availableServiceUpdateSeverity
serviceUpdateSeverity()
The severity of the service updateString
serviceUpdateSeverityAsString()
The severity of the service updateServiceUpdateStatus
serviceUpdateStatus()
The status of the service updateString
serviceUpdateStatusAsString()
The status of the service updateServiceUpdateType
serviceUpdateType()
Reflects the nature of the service updateString
serviceUpdateTypeAsString()
Reflects the nature of the service updateSlaMet
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 groupUpdateActionStatus
updateActionStatus()
The status of the update actionString
updateActionStatusAsString()
The status of the update actionInstant
updateActionStatusModifiedDate()
The date when the UpdateActionStatus was last modified-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
replicationGroupId
public final String replicationGroupId()
The ID of the replication group
- Returns:
- The ID of the replication group
-
cacheClusterId
public final String cacheClusterId()
The ID of the cache cluster
- Returns:
- The ID of the cache cluster
-
serviceUpdateName
public final String serviceUpdateName()
The unique ID of the service update
- Returns:
- The unique ID of the service update
-
serviceUpdateReleaseDate
public final Instant serviceUpdateReleaseDate()
The date the update is first available
- Returns:
- The date the update is first available
-
serviceUpdateSeverity
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 returnServiceUpdateSeverity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromserviceUpdateSeverityAsString()
.- Returns:
- The severity of the service update
- See Also:
ServiceUpdateSeverity
-
serviceUpdateSeverityAsString
public 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 returnServiceUpdateSeverity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromserviceUpdateSeverityAsString()
.- Returns:
- The severity of the service update
- See Also:
ServiceUpdateSeverity
-
serviceUpdateStatus
public 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 returnServiceUpdateStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromserviceUpdateStatusAsString()
.- Returns:
- The status of the service update
- See Also:
ServiceUpdateStatus
-
serviceUpdateStatusAsString
public 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 returnServiceUpdateStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromserviceUpdateStatusAsString()
.- Returns:
- The status of the service update
- See Also:
ServiceUpdateStatus
-
serviceUpdateRecommendedApplyByDate
public 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.
- Returns:
- The recommended date to apply the service update to ensure compliance. For information on compliance, see Self-Service Security Updates for Compliance.
-
serviceUpdateType
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 returnServiceUpdateType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromserviceUpdateTypeAsString()
.- Returns:
- Reflects the nature of the service update
- See Also:
ServiceUpdateType
-
serviceUpdateTypeAsString
public 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 returnServiceUpdateType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromserviceUpdateTypeAsString()
.- Returns:
- Reflects the nature of the service update
- See Also:
ServiceUpdateType
-
updateActionAvailableDate
public final Instant updateActionAvailableDate()
The date that the service update is available to a replication group
- Returns:
- The date that the service update is available to a replication group
-
updateActionStatus
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 returnUpdateActionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromupdateActionStatusAsString()
.- Returns:
- The status of the update action
- See Also:
UpdateActionStatus
-
updateActionStatusAsString
public 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 returnUpdateActionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromupdateActionStatusAsString()
.- Returns:
- The status of the update action
- See Also:
UpdateActionStatus
-
nodesUpdated
public final String nodesUpdated()
The progress of the service update on the replication group
- Returns:
- The progress of the service update on the replication group
-
updateActionStatusModifiedDate
public final Instant updateActionStatusModifiedDate()
The date when the UpdateActionStatus was last modified
- Returns:
- The date when the UpdateActionStatus was last modified
-
slaMet
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 returnSlaMet.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromslaMetAsString()
.- Returns:
- 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.
- See Also:
SlaMet
-
slaMetAsString
public 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 returnSlaMet.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromslaMetAsString()
.- Returns:
- 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.
- See Also:
SlaMet
-
hasNodeGroupUpdateStatus
public final boolean hasNodeGroupUpdateStatus()
For responses, this returns true if the service returned a value for the NodeGroupUpdateStatus property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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.
-
nodeGroupUpdateStatus
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.- Returns:
- The status of the service update on the node group
-
hasCacheNodeUpdateStatus
public final boolean hasCacheNodeUpdateStatus()
For responses, this returns true if the service returned a value for the CacheNodeUpdateStatus property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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.
-
cacheNodeUpdateStatus
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.- Returns:
- The status of the service update on the cache node
-
estimatedUpdateTime
public final String estimatedUpdateTime()
The estimated length of time for the update to complete
- Returns:
- The estimated length of time for the update to complete
-
engine
public final String engine()
The Elasticache engine to which the update applies. Either Redis or Memcached
- Returns:
- The Elasticache engine to which the update applies. Either Redis or Memcached
-
toBuilder
public UpdateAction.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateAction.Builder,UpdateAction>
-
builder
public static UpdateAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-