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 Details

    • 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 CREATE or UPDATE.

      Parameters:
      action - Indicates which action was called on the table, currently only CREATE or UPDATE.
      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 or UPDATE.

      Parameters:
      action - Indicates which action was called on the table, currently only CREATE or UPDATE.
      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 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 different Errors 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 Errors for each dialect.

      This is a convenience method that creates an instance of the ErrorDetail.Builder avoiding the need to create one manually via ErrorDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to error(ErrorDetail).

      Parameters:
      error - a consumer that will call methods on ErrorDetail.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 - A StatusDetails object with information about the requested change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      A StatusDetails object with information about the requested change.

      This is a convenience method that creates an instance of the StatusDetails.Builder avoiding the need to create one manually via StatusDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to details(StatusDetails).

      Parameters:
      details - a consumer that will call methods on StatusDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: