Interface CreateWorkspaceResponse.Builder

  • Method Details

    • arn

      The ARN for the new workspace.

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

      (optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.

      Parameters:
      kmsKeyArn - (optional) If the workspace was created with a customer managed KMS key, the ARN for the key used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the new workspace. Immediately after you create the workspace, the status is usually CREATING.

      Parameters:
      status - The current status of the new workspace. Immediately after you create the workspace, the status is usually CREATING.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the new workspace. Immediately after you create the workspace, the status is usually CREATING.

      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:
    • tags

      The list of tag keys and values that are associated with the workspace.

      Parameters:
      tags - The list of tag keys and values that are associated with the workspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workspaceId

      CreateWorkspaceResponse.Builder workspaceId(String workspaceId)

      The unique ID for the new workspace.

      Parameters:
      workspaceId - The unique ID for the new workspace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.