Class UpdateAction
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UpdateAction.Builder,UpdateAction>
The status of the service update for a specific replication group
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateAction.Builderbuilder()final StringThe ID of the cache clusterfinal List<CacheNodeUpdateStatus> The status of the service update on the cache nodefinal Stringengine()The Elasticache engine to which the update applies.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe estimated length of time for the update to completefinal <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the CacheNodeUpdateStatus property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the NodeGroupUpdateStatus property.final List<NodeGroupUpdateStatus> The status of the service update on the node groupfinal StringThe progress of the service update on the replication groupfinal StringThe ID of the replication groupstatic Class<? extends UpdateAction.Builder> final StringThe unique ID of the service updatefinal InstantThe recommended date to apply the service update to ensure compliance.final InstantThe date the update is first availablefinal ServiceUpdateSeverityThe severity of the service updatefinal StringThe severity of the service updatefinal ServiceUpdateStatusThe status of the service updatefinal StringThe status of the service updatefinal ServiceUpdateTypeReflects the nature of the service updatefinal StringReflects the nature of the service updatefinal SlaMetslaMet()If yes, all nodes in the replication group have been updated by the recommended apply-by date.final StringIf yes, all nodes in the replication group have been updated by the recommended apply-by date.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantThe date that the service update is available to a replication groupfinal UpdateActionStatusThe status of the update actionfinal StringThe status of the update actionfinal InstantThe date when the UpdateActionStatus was last modifiedMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
replicationGroupId
The ID of the replication group
- Returns:
- The ID of the replication group
-
cacheClusterId
The ID of the cache cluster
- Returns:
- The ID of the cache cluster
-
serviceUpdateName
The unique ID of the service update
- Returns:
- The unique ID of the service update
-
serviceUpdateReleaseDate
The date the update is first available
- Returns:
- The date the update is first available
-
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:
-
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:
-
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:
-
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:
-
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
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:
-
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:
-
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
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:
-
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:
-
nodesUpdated
The progress of the service update on the replication group
- Returns:
- The progress of the service update on the replication group
-
updateActionStatusModifiedDate
The date when the UpdateActionStatus was last modified
- Returns:
- The date when the UpdateActionStatus was last modified
-
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:
-
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:
-
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
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
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
The estimated length of time for the update to complete
- Returns:
- The estimated length of time for the update to complete
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAction.Builder,UpdateAction> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-