Interface WorkspaceSummary.Builder

  • Method Details

    • name

      The name of the workspace.

      Parameters:
      name - The name of the workspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The ARN of the workspace.

      Parameters:
      arn - The ARN of the workspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the workspace.

      Parameters:
      status - The status of the workspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the workspace.

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

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

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

      WorkspaceSummary.Builder createdAt(Instant createdAt)

      The date the workspace was created, in Unix epoch time.

      Parameters:
      createdAt - The date the workspace was created, in Unix epoch time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      WorkspaceSummary.Builder updatedAt(Instant updatedAt)

      The date the workspace was last updated, in Unix epoch time.

      Parameters:
      updatedAt - The date the workspace was last updated, in Unix epoch time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.