Class TableStatus
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.TableStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TableStatus.Builder,TableStatus>
@Generated("software.amazon.awssdk:codegen") public final class TableStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TableStatus.Builder,TableStatus>
A structure containing information about the state of an asynchronous change to a table.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTableStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceActionaction()Indicates which action was called on the table, currently onlyCREATEorUPDATE.StringactionAsString()Indicates which action was called on the table, currently onlyCREATEorUPDATE.static TableStatus.Builderbuilder()StatusDetailsdetails()AStatusDetailsobject with information about the requested change.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorDetailerror()An error that will only appear when the state is "FAILED".<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrequestedBy()The ARN of the user who requested the asynchronous change.InstantrequestTime()An ISO 8601 formatted date string indicating the time that the change was initiated.List<SdkField<?>>sdkFields()static Class<? extends TableStatus.Builder>serializableBuilderClass()ResourceStatestate()A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.StringstateAsString()A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.TableStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringupdatedBy()The ARN of the user to last manually alter the asynchronous change (requesting cancellation, etc).InstantupdateTime()An ISO 8601 formatted date string indicating the time that the state was last updated.-
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
-
requestedBy
public final String requestedBy()
The ARN of the user who requested the asynchronous change.
- Returns:
- The ARN of the user who requested the asynchronous change.
-
updatedBy
public final String updatedBy()
The ARN of the user to last manually alter the asynchronous change (requesting cancellation, etc).
- Returns:
- The ARN of the user to last manually alter the asynchronous change (requesting cancellation, etc).
-
requestTime
public final Instant requestTime()
An ISO 8601 formatted date string indicating the time that the change was initiated.
- Returns:
- An ISO 8601 formatted date string indicating the time that the change was initiated.
-
updateTime
public final Instant updateTime()
An ISO 8601 formatted date string indicating the time that the state was last updated.
- Returns:
- An ISO 8601 formatted date string indicating the time that the state was last updated.
-
action
public final ResourceAction action()
Indicates which action was called on the table, currently only
CREATEorUPDATE.If the service returns an enum value that is not available in the current SDK version,
actionwill returnResourceAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Indicates which action was called on the table, currently only
CREATEorUPDATE. - See Also:
ResourceAction
-
actionAsString
public final String actionAsString()
Indicates which action was called on the table, currently only
CREATEorUPDATE.If the service returns an enum value that is not available in the current SDK version,
actionwill returnResourceAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Indicates which action was called on the table, currently only
CREATEorUPDATE. - See Also:
ResourceAction
-
state
public final ResourceState state()
A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.
If the service returns an enum value that is not available in the current SDK version,
statewill returnResourceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.
- See Also:
ResourceState
-
stateAsString
public final String stateAsString()
A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.
If the service returns an enum value that is not available in the current SDK version,
statewill returnResourceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.
- See Also:
ResourceState
-
error
public final ErrorDetail error()
An error that will only appear when the state is "FAILED". This is a parent level exception message, there may be different
Errors for each dialect.- Returns:
- An error that will only appear when the state is "FAILED". This is a parent level exception message,
there may be different
Errors for each dialect.
-
details
public final StatusDetails details()
A
StatusDetailsobject with information about the requested change.- Returns:
- A
StatusDetailsobject with information about the requested change.
-
toBuilder
public TableStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TableStatus.Builder,TableStatus>
-
builder
public static TableStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends TableStatus.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.
-
-