Class TableStatus
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TableStatus.Builder,
TableStatus>
A structure containing information about the state of an asynchronous change to a table.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal ResourceAction
action()
Indicates which action was called on the table, currently onlyCREATE
orUPDATE
.final String
Indicates which action was called on the table, currently onlyCREATE
orUPDATE
.static TableStatus.Builder
builder()
final StatusDetails
details()
AStatusDetails
object with information about the requested change.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ErrorDetail
error()
An error that will only appear when the state is "FAILED".final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The ARN of the user who requested the asynchronous change.final Instant
An ISO 8601 formatted date string indicating the time that the change was initiated.static Class
<? extends TableStatus.Builder> final ResourceState
state()
A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.final String
A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
The ARN of the user to last manually alter the asynchronous change (requesting cancellation, etc).final Instant
An ISO 8601 formatted date string indicating the time that the state was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
requestedBy
The ARN of the user who requested the asynchronous change.
- Returns:
- The ARN of the user who requested the asynchronous change.
-
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
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
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
Indicates which action was called on the table, currently only
CREATE
orUPDATE
.If the service returns an enum value that is not available in the current SDK version,
action
will 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
CREATE
orUPDATE
. - See Also:
-
actionAsString
Indicates which action was called on the table, currently only
CREATE
orUPDATE
.If the service returns an enum value that is not available in the current SDK version,
action
will 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
CREATE
orUPDATE
. - See Also:
-
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,
state
will 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:
-
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,
state
will 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:
-
error
An error that will only appear when the state is "FAILED". This is a parent level exception message, there may be different
Error
s 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
Error
s for each dialect.
-
details
A
StatusDetails
object with information about the requested change.- Returns:
- A
StatusDetails
object with information about the requested change.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TableStatus.Builder,
TableStatus> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-