Class ServiceUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.memorydb.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 MemoryDB clusters.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantautoUpdateStartDate()The date at which the service update will be automatically appliedstatic ServiceUpdate.Builderbuilder()StringclusterName()The name of the cluster to which the service update appliesStringdescription()Provides details of the service updateStringengine()The MemoryDB engine to which the update applies.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnodesUpdated()A list of nodes updated by the service updateInstantreleaseDate()The date when the service update is initially availableMap<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServiceUpdate.Builder>serializableBuilderClass()StringserviceUpdateName()The unique ID of the service updateServiceUpdateStatusstatus()The status of the service updateStringstatusAsString()The status of the service updateServiceUpdate.BuildertoBuilder()StringtoString()Returns a string representation of this object.ServiceUpdateTypetype()Reflects the nature of the service updateStringtypeAsString()Reflects the nature of the service update-
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
-
clusterName
public final String clusterName()
The name of the cluster to which the service update applies
- Returns:
- The name of the cluster to which the service update applies
-
serviceUpdateName
public final String serviceUpdateName()
The unique ID of the service update
- Returns:
- The unique ID of the service update
-
releaseDate
public final Instant releaseDate()
The date when the service update is initially available
- Returns:
- The date when the service update is initially available
-
description
public final String description()
Provides details of the service update
- Returns:
- Provides details of the service update
-
status
public final ServiceUpdateStatus status()
The status of the service update
If the service returns an enum value that is not available in the current SDK version,
statuswill returnServiceUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the service update
- See Also:
ServiceUpdateStatus
-
statusAsString
public final String statusAsString()
The status of the service update
If the service returns an enum value that is not available in the current SDK version,
statuswill returnServiceUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the service update
- See Also:
ServiceUpdateStatus
-
type
public final ServiceUpdateType type()
Reflects the nature of the service update
If the service returns an enum value that is not available in the current SDK version,
typewill returnServiceUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Reflects the nature of the service update
- See Also:
ServiceUpdateType
-
typeAsString
public final String typeAsString()
Reflects the nature of the service update
If the service returns an enum value that is not available in the current SDK version,
typewill returnServiceUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Reflects the nature of the service update
- See Also:
ServiceUpdateType
-
engine
public final String engine()
The MemoryDB engine to which the update applies. The values are either Redis or Valkey.
- Returns:
- The MemoryDB engine to which the update applies. The values are either Redis or Valkey.
-
nodesUpdated
public final String nodesUpdated()
A list of nodes updated by the service update
- Returns:
- A list of nodes updated by the service update
-
autoUpdateStartDate
public final Instant autoUpdateStartDate()
The date at which the service update will be automatically applied
- Returns:
- The date at which the service update will be automatically applied
-
toBuilder
public ServiceUpdate.Builder toBuilder()
- Specified by:
toBuilderin 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:
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
-
-