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
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateAction.Builder
builder()
final String
The ID of the cache clusterfinal List
<CacheNodeUpdateStatus> The status of the service update on the cache nodefinal String
engine()
The Elasticache engine to which the update applies.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The estimated length of time for the update to completefinal <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the CacheNodeUpdateStatus property.final int
hashCode()
final boolean
For 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 String
The progress of the service update on the replication groupfinal String
The ID of the replication groupstatic Class
<? extends UpdateAction.Builder> final String
The unique ID of the service updatefinal Instant
The recommended date to apply the service update to ensure compliance.final Instant
The date the update is first availablefinal ServiceUpdateSeverity
The severity of the service updatefinal String
The severity of the service updatefinal ServiceUpdateStatus
The status of the service updatefinal String
The status of the service updatefinal ServiceUpdateType
Reflects the nature of the service updatefinal String
Reflects the nature of the service updatefinal SlaMet
slaMet()
If yes, all nodes in the replication group have been updated by the recommended apply-by date.final String
If 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 String
toString()
Returns a string representation of this object.final Instant
The date that the service update is available to a replication groupfinal UpdateActionStatus
The status of the update actionfinal String
The status of the update actionfinal Instant
The 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,
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:
-
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:
-
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:
-
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:
-
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,
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:
-
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:
-
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,
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:
-
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:
-
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,
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:
-
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:
-
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 Redis or Memcached
- Returns:
- The Elasticache engine to which the update applies. Either Redis or Memcached
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<UpdateAction.Builder,
UpdateAction> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-