@Generated(value="software.amazon.awssdk:codegen") public final class Update extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Update.Builder,Update>
An object representing an asynchronous update.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Update.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Update.Builder |
builder() |
Instant |
createdAt()
The Unix epoch timestamp in seconds for when the update was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ErrorDetail> |
errors()
Any errors associated with a
Failed update. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
A UUID that is used to track the update.
|
List<UpdateParam> |
params()
A key-value map that contains the parameters associated with the update.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Update.Builder> |
serializableBuilderClass() |
UpdateStatus |
status()
The current status of the update.
|
String |
statusAsString()
The current status of the update.
|
Update.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UpdateType |
type()
The type of the update.
|
String |
typeAsString()
The type of the update.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String id()
A UUID that is used to track the update.
public UpdateStatus status()
The current status of the update.
If the service returns an enum value that is not available in the current SDK version, status will
return UpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
UpdateStatuspublic String statusAsString()
The current status of the update.
If the service returns an enum value that is not available in the current SDK version, status will
return UpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
UpdateStatuspublic UpdateType type()
The type of the update.
If the service returns an enum value that is not available in the current SDK version, type will return
UpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
UpdateTypepublic String typeAsString()
The type of the update.
If the service returns an enum value that is not available in the current SDK version, type will return
UpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
UpdateTypepublic List<UpdateParam> params()
A key-value map that contains the parameters associated with the update.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Instant createdAt()
The Unix epoch timestamp in seconds for when the update was created.
public List<ErrorDetail> errors()
Any errors associated with a Failed update.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Failed update.public Update.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Update.Builder,Update>public static Update.Builder builder()
public static Class<? extends Update.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.