Interface UpdateWorkspaceImagePermissionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorkspaceImagePermissionRequest.Builder,UpdateWorkspaceImagePermissionRequest>,SdkBuilder<UpdateWorkspaceImagePermissionRequest.Builder,UpdateWorkspaceImagePermissionRequest>,SdkPojo,SdkRequest.Builder,WorkSpacesRequest.Builder
- Enclosing class:
- UpdateWorkspaceImagePermissionRequest
public static interface UpdateWorkspaceImagePermissionRequest.Builder extends WorkSpacesRequest.Builder, SdkPojo, CopyableBuilder<UpdateWorkspaceImagePermissionRequest.Builder,UpdateWorkspaceImagePermissionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateWorkspaceImagePermissionRequest.BuilderallowCopyImage(Boolean allowCopyImage)The permission to copy the image.UpdateWorkspaceImagePermissionRequest.BuilderimageId(String imageId)The identifier of the image.UpdateWorkspaceImagePermissionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateWorkspaceImagePermissionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateWorkspaceImagePermissionRequest.BuildersharedAccountId(String sharedAccountId)The identifier of the Amazon Web Services account to share or unshare the image with.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesRequest.Builder
build
-
-
-
-
Method Detail
-
imageId
UpdateWorkspaceImagePermissionRequest.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.
-
allowCopyImage
UpdateWorkspaceImagePermissionRequest.Builder allowCopyImage(Boolean allowCopyImage)
The permission to copy the image. This permission can be revoked only after an image has been shared.
- Parameters:
allowCopyImage- The permission to copy the image. This permission can be revoked only after an image has been shared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharedAccountId
UpdateWorkspaceImagePermissionRequest.Builder sharedAccountId(String sharedAccountId)
The identifier of the Amazon Web Services account to share or unshare the image with.
Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.
- Parameters:
sharedAccountId- The identifier of the Amazon Web Services account to share or unshare the image with.Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateWorkspaceImagePermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateWorkspaceImagePermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-