Class ServiceUpdate
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ServiceUpdate.Builder,
ServiceUpdate>
An update that you can apply to your Redis OSS clusters.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
Indicates whether the service update will be automatically applied once the recommended apply-by date has expired.static ServiceUpdate.Builder
builder()
final String
engine()
The Elasticache engine to which the update applies.final String
The Elasticache engine version 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 the service update will takefinal <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends ServiceUpdate.Builder> final String
Provides details of the service updatefinal Instant
The date after which the service update is no longer availablefinal String
The unique ID of the service updatefinal Instant
The recommendend date to apply the service update in order to ensure compliance.final Instant
The date when the service update is initially 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 updateTake 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.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
serviceUpdateName
The unique ID of the service update
- Returns:
- The unique ID of the service update
-
serviceUpdateReleaseDate
The date when the service update is initially available
- Returns:
- The date when the service update is initially available
-
serviceUpdateEndDate
The date after which the service update is no longer available
- Returns:
- The date after which the service update is no longer 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:
-
serviceUpdateRecommendedApplyByDate
The recommendend date to apply the service update in order to ensure compliance. For information on compliance, see Self-Service Security Updates for Compliance.
- Returns:
- The recommendend date to apply the service update in order to ensure compliance. For information on compliance, see Self-Service Security Updates for Compliance.
-
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:
-
serviceUpdateDescription
Provides details of the service update
- Returns:
- Provides details of the service update
-
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:
-
engine
The Elasticache engine to which the update applies. Either Redis OSS or Memcached.
- Returns:
- The Elasticache engine to which the update applies. Either Redis OSS or Memcached.
-
engineVersion
The Elasticache engine version to which the update applies. Either Redis OSS or Memcached engine version.
- Returns:
- The Elasticache engine version to which the update applies. Either Redis OSS or Memcached engine version.
-
autoUpdateAfterRecommendedApplyByDate
Indicates whether the service update will be automatically applied once the recommended apply-by date has expired.
- Returns:
- Indicates whether the service update will be automatically applied once the recommended apply-by date has expired.
-
estimatedUpdateTime
The estimated length of time the service update will take
- Returns:
- The estimated length of time the service update will take
-
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<ServiceUpdate.Builder,
ServiceUpdate> - 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
-