@Generated(value="software.amazon.awssdk:codegen") public final class OptionStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OptionStatus.Builder,OptionStatus>
Provides the current status of an entity.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OptionStatus.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OptionStatus.Builder |
builder() |
Instant |
creationDate()
The timestamp when the entity was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
pendingDeletion()
Indicates whether the entity is being deleted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OptionStatus.Builder> |
serializableBuilderClass() |
OptionState |
state()
The state of the entity.
|
String |
stateAsString()
The state of the entity.
|
OptionStatus.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updateDate()
The timestamp of the last time the entity was updated.
|
Integer |
updateVersion()
The latest version of the entity.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant creationDate()
The timestamp when the entity was created.
public final Instant updateDate()
The timestamp of the last time the entity was updated.
public final Integer updateVersion()
The latest version of the entity.
public final OptionState state()
The state of the entity.
If the service returns an enum value that is not available in the current SDK version, state will return
OptionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
OptionStatepublic final String stateAsString()
The state of the entity.
If the service returns an enum value that is not available in the current SDK version, state will return
OptionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
OptionStatepublic final Boolean pendingDeletion()
Indicates whether the entity is being deleted.
public OptionStatus.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OptionStatus.Builder,OptionStatus>public static OptionStatus.Builder builder()
public static Class<? extends OptionStatus.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.