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 interfaceUpdateAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateAction.Builderbuilder()StringcacheClusterId()The ID of the cache clusterList<CacheNodeUpdateStatus>cacheNodeUpdateStatus()The status of the service update on the cache nodeStringengine()The Elasticache engine to which the update applies.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringestimatedUpdateTime()The estimated length of time for the update to complete<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasCacheNodeUpdateStatus()For responses, this returns true if the service returned a value for the CacheNodeUpdateStatus property.inthashCode()booleanhasNodeGroupUpdateStatus()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 groupStringnodesUpdated()The progress of the service update on the replication groupStringreplicationGroupId()The ID of the replication groupMap<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateAction.Builder>serializableBuilderClass()StringserviceUpdateName()The unique ID of the service updateInstantserviceUpdateRecommendedApplyByDate()The recommended date to apply the service update to ensure compliance.InstantserviceUpdateReleaseDate()The date the update is first availableServiceUpdateSeverityserviceUpdateSeverity()The severity of the service updateStringserviceUpdateSeverityAsString()The severity of the service updateServiceUpdateStatusserviceUpdateStatus()The status of the service updateStringserviceUpdateStatusAsString()The status of the service updateServiceUpdateTypeserviceUpdateType()Reflects the nature of the service updateStringserviceUpdateTypeAsString()Reflects the nature of the service updateSlaMetslaMet()If yes, all nodes in the replication group have been updated by the recommended apply-by date.StringslaMetAsString()If yes, all nodes in the replication group have been updated by the recommended apply-by date.UpdateAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdateActionAvailableDate()The date that the service update is available to a replication groupUpdateActionStatusupdateActionStatus()The status of the update actionStringupdateActionStatusAsString()The status of the update actionInstantupdateActionStatusModifiedDate()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,
serviceUpdateSeveritywill 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,
serviceUpdateSeveritywill 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,
serviceUpdateStatuswill 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,
serviceUpdateStatuswill 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,
serviceUpdateTypewill 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,
serviceUpdateTypewill 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,
updateActionStatuswill 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,
updateActionStatuswill 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,
slaMetwill 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,
slaMetwill 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 Valkey, Redis OSS or Memcached.
- Returns:
- The Elasticache engine to which the update applies. Either Valkey, Redis OSS or Memcached.
-
toBuilder
public UpdateAction.Builder toBuilder()
- Specified by:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-