Interface TableStatus.Builder

    • 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 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:
        ResourceAction, ResourceAction
      • action

        TableStatus.Builder action​(ResourceAction 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:
        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 different Errors for each dialect.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • details

        TableStatus.Builder details​(StatusDetails 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.