@Generated(value="software.amazon.awssdk:codegen") public final class Status extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Status.Builder,Status>
An object that represents the status of an entity, component, component type, or workspace.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Status.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Status.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorDetails |
error()
The error message.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Status.Builder> |
serializableBuilderClass() |
State |
state()
The current state of the entity, component, component type, or workspace.
|
String |
stateAsString()
The current state of the entity, component, component type, or workspace.
|
Status.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ErrorDetails error()
The error message.
public final State state()
The current state of the entity, component, component type, or workspace.
If the service returns an enum value that is not available in the current SDK version, state will return
State.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
Statepublic final String stateAsString()
The current state of the entity, component, component type, or workspace.
If the service returns an enum value that is not available in the current SDK version, state will return
State.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
Statepublic Status.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Status.Builder,Status>public static Status.Builder builder()
public static Class<? extends Status.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.