Interface DescribeWorkspaceBundlesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWorkspaceBundlesResponse.Builder,,DescribeWorkspaceBundlesResponse> SdkBuilder<DescribeWorkspaceBundlesResponse.Builder,,DescribeWorkspaceBundlesResponse> SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
DescribeWorkspaceBundlesResponse
@Mutable
@NotThreadSafe
public static interface DescribeWorkspaceBundlesResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkspaceBundlesResponse.Builder,DescribeWorkspaceBundlesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbundles(Collection<WorkspaceBundle> bundles) Information about the bundles.bundles(Consumer<WorkspaceBundle.Builder>... bundles) Information about the bundles.bundles(WorkspaceBundle... bundles) Information about the bundles.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
bundles
Information about the bundles.
- Parameters:
bundles- Information about the bundles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundles
Information about the bundles.
- Parameters:
bundles- Information about the bundles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundles
Information about the bundles.
This is a convenience method that creates an instance of theWorkspaceBundle.Builderavoiding the need to create one manually viaWorkspaceBundle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobundles(List<WorkspaceBundle>).- Parameters:
bundles- a consumer that will call methods onWorkspaceBundle.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. This token is valid for one day and must be used within that time frame.
- 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. This token is valid for one day and must be used within that time frame.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-