Interface DescribeWorkspacesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeWorkspacesResponse.Builder,DescribeWorkspacesResponse>, SdkBuilder<DescribeWorkspacesResponse.Builder,DescribeWorkspacesResponse>, SdkPojo, SdkResponse.Builder, WorkSpacesResponse.Builder
Enclosing class:
DescribeWorkspacesResponse

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

    • workspaces

      Information about the WorkSpaces.

      Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.

      Parameters:
      workspaces - Information about the WorkSpaces.

      Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workspaces

      DescribeWorkspacesResponse.Builder workspaces(Workspace... workspaces)

      Information about the WorkSpaces.

      Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.

      Parameters:
      workspaces - Information about the WorkSpaces.

      Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workspaces

      Information about the WorkSpaces.

      Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to workspaces(List<Workspace>).

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

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      Parameters:
      nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.