Interface CreateWorkspaceImageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateWorkspaceImageResponse.Builder,
,CreateWorkspaceImageResponse> SdkBuilder<CreateWorkspaceImageResponse.Builder,
,CreateWorkspaceImageResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesResponse.Builder
- Enclosing class:
CreateWorkspaceImageResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe date when the image was created.description
(String description) The description of the image.The identifier of the new WorkSpace image.The name of the image.operatingSystem
(Consumer<OperatingSystem.Builder> operatingSystem) The operating system that the image is running.operatingSystem
(OperatingSystem operatingSystem) The operating system that the image is running.ownerAccountId
(String ownerAccountId) The identifier of the Amazon Web Services account that owns the image.requiredTenancy
(String requiredTenancy) Specifies whether the image is running on dedicated hardware.requiredTenancy
(WorkspaceImageRequiredTenancy requiredTenancy) Specifies whether the image is running on dedicated hardware.The availability status of the image.state
(WorkspaceImageState state) The availability status of the image.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 new WorkSpace image.
- Parameters:
imageId
- The identifier of the new WorkSpace image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the image.
- Parameters:
name
- The name of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the image.
- Parameters:
description
- The description of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystem
The operating system that the image is running.
- Parameters:
operatingSystem
- The operating system that the image is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystem
default CreateWorkspaceImageResponse.Builder operatingSystem(Consumer<OperatingSystem.Builder> operatingSystem) The operating system that the image is running.
This is a convenience method that creates an instance of theOperatingSystem.Builder
avoiding the need to create one manually viaOperatingSystem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooperatingSystem(OperatingSystem)
.- Parameters:
operatingSystem
- a consumer that will call methods onOperatingSystem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The availability status of the image.
- Parameters:
state
- The availability status of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The availability status of the image.
- Parameters:
state
- The availability status of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requiredTenancy
Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images..
- Parameters:
requiredTenancy
- Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images..- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requiredTenancy
Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images..
- Parameters:
requiredTenancy
- Specifies whether the image is running on dedicated hardware. When Bring Your Own License (BYOL) is enabled, this value is set to DEDICATED. For more information, see Bring Your Own Windows Desktop Images..- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
created
The date when the image was created.
- Parameters:
created
- The date when the image was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerAccountId
The identifier of the Amazon Web Services account that owns the image.
- Parameters:
ownerAccountId
- The identifier of the Amazon Web Services account that owns the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-