@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) |
boolean |
hasErrors()
Returns true if the Errors property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasParams()
Returns true if the Params property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
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 boolean hasParams()
public 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.
You can use hasParams() to see if a value was sent in this field.
public Instant createdAt()
The Unix epoch timestamp in seconds for when the update was created.
public boolean hasErrors()
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.
You can use hasErrors() to see if a value was sent in this field.
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 © 2020. All rights reserved.