Interface Status.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Status.Builder,Status>, SdkBuilder<Status.Builder,Status>, SdkPojo
Enclosing class:
Status

@Mutable @NotThreadSafe public static interface Status.Builder extends SdkPojo, CopyableBuilder<Status.Builder,Status>
  • Method Details

    • state

      Status.Builder state(String state)

      The current state of the entity, component, component type, or workspace.

      Parameters:
      state - The current state of the entity, component, component type, or workspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Status.Builder state(State state)

      The current state of the entity, component, component type, or workspace.

      Parameters:
      state - The current state of the entity, component, component type, or workspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • error

      The error message.

      Parameters:
      error - The error message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      The error message.

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

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

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