Interface DescribeWorkspaceImagePermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWorkspaceImagePermissionsResponse.Builder,
,DescribeWorkspaceImagePermissionsResponse> SdkBuilder<DescribeWorkspaceImagePermissionsResponse.Builder,
,DescribeWorkspaceImagePermissionsResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
DescribeWorkspaceImagePermissionsResponse
public static interface DescribeWorkspaceImagePermissionsResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkspaceImagePermissionsResponse.Builder,DescribeWorkspaceImagePermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the image.imagePermissions
(Collection<ImagePermission> imagePermissions) The identifiers of the Amazon Web Services accounts that the image has been shared with.imagePermissions
(Consumer<ImagePermission.Builder>... imagePermissions) The identifiers of the Amazon Web Services accounts that the image has been shared with.imagePermissions
(ImagePermission... imagePermissions) The identifiers of the Amazon Web Services accounts that the image has been shared with.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
imageId
The identifier of the image.
- Parameters:
imageId
- The identifier of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imagePermissions
DescribeWorkspaceImagePermissionsResponse.Builder imagePermissions(Collection<ImagePermission> imagePermissions) The identifiers of the Amazon Web Services accounts that the image has been shared with.
- Parameters:
imagePermissions
- The identifiers of the Amazon Web Services accounts that the image has been shared with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imagePermissions
DescribeWorkspaceImagePermissionsResponse.Builder imagePermissions(ImagePermission... imagePermissions) The identifiers of the Amazon Web Services accounts that the image has been shared with.
- Parameters:
imagePermissions
- The identifiers of the Amazon Web Services accounts that the image has been shared with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imagePermissions
DescribeWorkspaceImagePermissionsResponse.Builder imagePermissions(Consumer<ImagePermission.Builder>... imagePermissions) The identifiers of the Amazon Web Services accounts that the image has been shared with.
This is a convenience method that creates an instance of theImagePermission.Builder
avoiding the need to create one manually viaImagePermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimagePermissions(List<ImagePermission>)
.- Parameters:
imagePermissions
- a consumer that will call methods onImagePermission.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.
-