Interface ListWorkspacesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkspacesResponse.Builder,ListWorkspacesResponse>,GrafanaResponse.Builder,SdkBuilder<ListWorkspacesResponse.Builder,ListWorkspacesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListWorkspacesResponse
public static interface ListWorkspacesResponse.Builder extends GrafanaResponse.Builder, SdkPojo, CopyableBuilder<ListWorkspacesResponse.Builder,ListWorkspacesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListWorkspacesResponse.BuildernextToken(String nextToken)The token to use when requesting the next set of workspaces.ListWorkspacesResponse.Builderworkspaces(Collection<WorkspaceSummary> workspaces)An array of structures that contain some information about the workspaces in the account.ListWorkspacesResponse.Builderworkspaces(Consumer<WorkspaceSummary.Builder>... workspaces)An array of structures that contain some information about the workspaces in the account.ListWorkspacesResponse.Builderworkspaces(WorkspaceSummary... workspaces)An array of structures that contain some information about the workspaces in the account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListWorkspacesResponse.Builder nextToken(String nextToken)
The token to use when requesting the next set of workspaces.
- Parameters:
nextToken- The token to use when requesting the next set of workspaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaces
ListWorkspacesResponse.Builder workspaces(Collection<WorkspaceSummary> workspaces)
An array of structures that contain some information about the workspaces in the account.
- Parameters:
workspaces- An array of structures that contain some information about the workspaces in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaces
ListWorkspacesResponse.Builder workspaces(WorkspaceSummary... workspaces)
An array of structures that contain some information about the workspaces in the account.
- Parameters:
workspaces- An array of structures that contain some information about the workspaces in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaces
ListWorkspacesResponse.Builder workspaces(Consumer<WorkspaceSummary.Builder>... workspaces)
An array of structures that contain some information about the workspaces in the account.
This is a convenience method that creates an instance of theWorkspaceSummary.Builderavoiding the need to create one manually viaWorkspaceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#workspaces(List.) - Parameters:
workspaces- a consumer that will call methods onWorkspaceSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#workspaces(java.util.Collection)
-
-