Interface TableStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TableStatus.Builder,TableStatus>,SdkBuilder<TableStatus.Builder,TableStatus>,SdkPojo
- Enclosing class:
- TableStatus
public static interface TableStatus.Builder extends SdkPojo, CopyableBuilder<TableStatus.Builder,TableStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TableStatus.Builderaction(String action)Indicates which action was called on the table, currently onlyCREATEorUPDATE.TableStatus.Builderaction(ResourceAction action)Indicates which action was called on the table, currently onlyCREATEorUPDATE.default TableStatus.Builderdetails(Consumer<StatusDetails.Builder> details)AStatusDetailsobject with information about the requested change.TableStatus.Builderdetails(StatusDetails details)AStatusDetailsobject with information about the requested change.default TableStatus.Buildererror(Consumer<ErrorDetail.Builder> error)An error that will only appear when the state is "FAILED".TableStatus.Buildererror(ErrorDetail error)An error that will only appear when the state is "FAILED".TableStatus.BuilderrequestedBy(String requestedBy)The ARN of the user who requested the asynchronous change.TableStatus.BuilderrequestTime(Instant requestTime)An ISO 8601 formatted date string indicating the time that the change was initiated.TableStatus.Builderstate(String state)A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.TableStatus.Builderstate(ResourceState state)A generic status for the change in progress, such as QUEUED, IN_PROGRESS, SUCCESS, or FAILED.TableStatus.BuilderupdatedBy(String updatedBy)The ARN of the user to last manually alter the asynchronous change (requesting cancellation, etc).TableStatus.BuilderupdateTime(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 Detail
-
requestedBy
TableStatus.Builder requestedBy(String 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
TableStatus.Builder updatedBy(String 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
TableStatus.Builder requestTime(Instant 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
TableStatus.Builder updateTime(Instant 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
TableStatus.Builder action(String action)
Indicates which action was called on the table, currently only
CREATEorUPDATE.- Parameters:
action- Indicates which action was called on the table, currently onlyCREATEorUPDATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceAction,ResourceAction
-
action
TableStatus.Builder action(ResourceAction action)
Indicates which action was called on the table, currently only
CREATEorUPDATE.- Parameters:
action- Indicates which action was called on the table, currently onlyCREATEorUPDATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceAction,ResourceAction
-
state
TableStatus.Builder state(String 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:
ResourceState,ResourceState
-
state
TableStatus.Builder state(ResourceState 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:
ResourceState,ResourceState
-
error
TableStatus.Builder error(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.- Parameters:
error- An error that will only appear when the state is "FAILED". This is a parent level exception message, there may be differentErrors for each dialect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default TableStatus.Builder error(Consumer<ErrorDetail.Builder> 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 theErrors for each dialect.ErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,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:
error(ErrorDetail)
-
details
TableStatus.Builder details(StatusDetails details)
A
StatusDetailsobject with information about the requested change.- Parameters:
details- AStatusDetailsobject with information about the requested change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
default TableStatus.Builder details(Consumer<StatusDetails.Builder> details)
A
This is a convenience method that creates an instance of theStatusDetailsobject with information about the requested change.StatusDetails.Builderavoiding the need to create one manually viaStatusDetails.builder().When the
Consumercompletes,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:
details(StatusDetails)
-
-