Interface ListWorkspaceInstancesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListWorkspaceInstancesResponse.Builder,,- ListWorkspaceInstancesResponse> - SdkBuilder<ListWorkspaceInstancesResponse.Builder,,- ListWorkspaceInstancesResponse> - SdkPojo,- SdkResponse.Builder,- WorkspacesInstancesResponse.Builder
- Enclosing class:
- ListWorkspaceInstancesResponse
@Mutable
@NotThreadSafe
public static interface ListWorkspaceInstancesResponse.Builder
extends WorkspacesInstancesResponse.Builder, SdkPojo, CopyableBuilder<ListWorkspaceInstancesResponse.Builder,ListWorkspaceInstancesResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionToken for retrieving additional WorkSpaces Instances if the result set is paginated.workspaceInstances(Collection<WorkspaceInstance> workspaceInstances) Collection of WorkSpaces Instances returned by the query.workspaceInstances(Consumer<WorkspaceInstance.Builder>... workspaceInstances) Collection of WorkSpaces Instances returned by the query.workspaceInstances(WorkspaceInstance... workspaceInstances) Collection of WorkSpaces Instances returned by the query.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspacesinstances.model.WorkspacesInstancesResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
workspaceInstancesListWorkspaceInstancesResponse.Builder workspaceInstances(Collection<WorkspaceInstance> workspaceInstances) Collection of WorkSpaces Instances returned by the query. - Parameters:
- workspaceInstances- Collection of WorkSpaces Instances returned by the query.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceInstancesCollection of WorkSpaces Instances returned by the query. - Parameters:
- workspaceInstances- Collection of WorkSpaces Instances returned by the query.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workspaceInstancesListWorkspaceInstancesResponse.Builder workspaceInstances(Consumer<WorkspaceInstance.Builder>... workspaceInstances) Collection of WorkSpaces Instances returned by the query. This is a convenience method that creates an instance of theWorkspaceInstance.Builderavoiding the need to create one manually viaWorkspaceInstance.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkspaceInstances(List<WorkspaceInstance>).- Parameters:
- workspaceInstances- a consumer that will call methods on- WorkspaceInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenToken for retrieving additional WorkSpaces Instances if the result set is paginated. - Parameters:
- nextToken- Token for retrieving additional WorkSpaces Instances if the result set is paginated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-