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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeWorkspaceImagePermissionsResponse.BuilderimageId(String imageId)The identifier of the image.DescribeWorkspaceImagePermissionsResponse.BuilderimagePermissions(Collection<ImagePermission> imagePermissions)The identifiers of the Amazon Web Services accounts that the image has been shared with.DescribeWorkspaceImagePermissionsResponse.BuilderimagePermissions(Consumer<ImagePermission.Builder>... imagePermissions)The identifiers of the Amazon Web Services accounts that the image has been shared with.DescribeWorkspaceImagePermissionsResponse.BuilderimagePermissions(ImagePermission... imagePermissions)The identifiers of the Amazon Web Services accounts that the image has been shared with.DescribeWorkspaceImagePermissionsResponse.BuildernextToken(String nextToken)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 Detail
-
imageId
DescribeWorkspaceImagePermissionsResponse.Builder imageId(String 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.Builderavoiding the need to create one manually viaImagePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#imagePermissions(List.) - 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:
#imagePermissions(java.util.Collection)
-
nextToken
DescribeWorkspaceImagePermissionsResponse.Builder nextToken(String 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.
-
-