Interface TableStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TableStatus.Builder,
,TableStatus> SdkBuilder<TableStatus.Builder,
,TableStatus> SdkPojo
- Enclosing class:
TableStatus
-
Method Summary
Modifier and TypeMethodDescriptionIndicates which action was called on the table, currently onlyCREATE
orUPDATE
.action
(ResourceAction action) Indicates which action was called on the table, currently onlyCREATE
orUPDATE
.default TableStatus.Builder
details
(Consumer<StatusDetails.Builder> details) AStatusDetails
object with information about the requested change.details
(StatusDetails details) AStatusDetails
object with information about the requested change.default TableStatus.Builder
error
(Consumer<ErrorDetail.Builder> error) An error that will only appear when the state is "FAILED".error
(ErrorDetail error) An error that will only appear when the state is "FAILED".requestedBy
(String requestedBy) The ARN of the user who requested the asynchronous change.requestTime
(Instant requestTime) An ISO 8601 formatted date string indicating the time that the change was initiated.A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.state
(ResourceState state) A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.The ARN of the user to last manually alter the asynchronous change (requesting cancellation, etc).updateTime
(Instant updateTime) An ISO 8601 formatted date string indicating the time that the state was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
requestedBy
The ARN of the user who requested the asynchronous change.
- Parameters:
requestedBy
- The ARN of the user who requested the asynchronous change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The ARN of the user to last manually alter the asynchronous change (requesting cancellation, etc).
- Parameters:
updatedBy
- The ARN of the user to last manually alter the asynchronous change (requesting cancellation, etc).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestTime
An ISO 8601 formatted date string indicating the time that the change was initiated.
- Parameters:
requestTime
- An ISO 8601 formatted date string indicating the time that the change was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
An ISO 8601 formatted date string indicating the time that the state was last updated.
- Parameters:
updateTime
- An ISO 8601 formatted date string indicating the time that the state was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
Indicates which action was called on the table, currently only
CREATE
orUPDATE
.- Parameters:
action
- Indicates which action was called on the table, currently onlyCREATE
orUPDATE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
Indicates which action was called on the table, currently only
CREATE
orUPDATE
.- Parameters:
action
- Indicates which action was called on the table, currently onlyCREATE
orUPDATE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.
- Parameters:
state
- A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.
- Parameters:
state
- A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.- Parameters:
error
- An error that will only appear when the state is "FAILED". This is a parent level exception message, there may be differentError
s for each dialect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
An error that will only appear when the state is "FAILED". This is a parent level exception message, there may be different
This is a convenience method that creates an instance of theError
s for each dialect.ErrorDetail.Builder
avoiding the need to create one manually viaErrorDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(ErrorDetail)
.- Parameters:
error
- a consumer that will call methods onErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
details
A
StatusDetails
object with information about the requested change.- Parameters:
details
- AStatusDetails
object with information about the requested change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
A
This is a convenience method that creates an instance of theStatusDetails
object with information about the requested change.StatusDetails.Builder
avoiding the need to create one manually viaStatusDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(StatusDetails)
.- Parameters:
details
- a consumer that will call methods onStatusDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-