Interface WorkspaceDescription.Builder

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

public static interface WorkspaceDescription.Builder extends SdkPojo, CopyableBuilder<WorkspaceDescription.Builder,WorkspaceDescription>
  • Method Details

    • workspaceId

      WorkspaceDescription.Builder workspaceId(String workspaceId)

      Unique string identifying this workspace.

      Parameters:
      workspaceId - Unique string identifying this workspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alias

      Alias of this workspace.

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

      The Amazon Resource Name (ARN) of this workspace.

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

      The status of this workspace.

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

      The status of this 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:
    • prometheusEndpoint

      WorkspaceDescription.Builder prometheusEndpoint(String prometheusEndpoint)

      Prometheus endpoint URI.

      Parameters:
      prometheusEndpoint - Prometheus endpoint URI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      WorkspaceDescription.Builder createdAt(Instant createdAt)

      The time when the workspace was created.

      Parameters:
      createdAt - The time when the workspace was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags of this workspace.

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