Class ServiceUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.elasticache.model.ServiceUpdate
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ServiceUpdate.Builder,ServiceUpdate>
@Generated("software.amazon.awssdk:codegen") public final class ServiceUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceUpdate.Builder,ServiceUpdate>
An update that you can apply to your Redis clusters.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ServiceUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
autoUpdateAfterRecommendedApplyByDate()
Indicates whether the service update will be automatically applied once the recommended apply-by date has expired.static ServiceUpdate.Builder
builder()
String
engine()
The Elasticache engine to which the update applies.String
engineVersion()
The Elasticache engine version to which the update applies.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
estimatedUpdateTime()
The estimated length of time the service update will take<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends ServiceUpdate.Builder>
serializableBuilderClass()
String
serviceUpdateDescription()
Provides details of the service updateInstant
serviceUpdateEndDate()
The date after which the service update is no longer availableString
serviceUpdateName()
The unique ID of the service updateInstant
serviceUpdateRecommendedApplyByDate()
The recommendend date to apply the service update in order to ensure compliance.Instant
serviceUpdateReleaseDate()
The date when the service update is initially 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 updateServiceUpdate.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
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 when the service update is initially available
- Returns:
- The date when the service update is initially available
-
serviceUpdateEndDate
public final Instant 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
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
-
serviceUpdateRecommendedApplyByDate
public final Instant 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
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
-
serviceUpdateDescription
public final String serviceUpdateDescription()
Provides details of the service update
- Returns:
- Provides details of the service update
-
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
-
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
-
engineVersion
public final String engineVersion()
The Elasticache engine version to which the update applies. Either Redis or Memcached engine version
- Returns:
- The Elasticache engine version to which the update applies. Either Redis or Memcached engine version
-
autoUpdateAfterRecommendedApplyByDate
public final Boolean 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
public final String estimatedUpdateTime()
The estimated length of time the service update will take
- Returns:
- The estimated length of time the service update will take
-
toBuilder
public ServiceUpdate.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ServiceUpdate.Builder,ServiceUpdate>
-
builder
public static ServiceUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceUpdate.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.
-
-