public static interface WorkspaceImage.Builder extends SdkPojo, CopyableBuilder<WorkspaceImage.Builder,WorkspaceImage>
Modifier and Type | Method and Description |
---|---|
WorkspaceImage.Builder |
description(String description)
The description of the image.
|
WorkspaceImage.Builder |
errorCode(String errorCode)
The error code that is returned for the image.
|
WorkspaceImage.Builder |
errorMessage(String errorMessage)
The text of the error message that is returned for the image.
|
WorkspaceImage.Builder |
imageId(String imageId)
The identifier of the image.
|
WorkspaceImage.Builder |
name(String name)
The name of the image.
|
default WorkspaceImage.Builder |
operatingSystem(Consumer<OperatingSystem.Builder> operatingSystem)
The operating system that the image is running.
|
WorkspaceImage.Builder |
operatingSystem(OperatingSystem operatingSystem)
The operating system that the image is running.
|
WorkspaceImage.Builder |
requiredTenancy(String requiredTenancy)
Specifies whether the image is running on dedicated hardware.
|
WorkspaceImage.Builder |
requiredTenancy(WorkspaceImageRequiredTenancy requiredTenancy)
Specifies whether the image is running on dedicated hardware.
|
WorkspaceImage.Builder |
state(String state)
The status of the image.
|
WorkspaceImage.Builder |
state(WorkspaceImageState state)
The status of the image.
|
copy
applyMutation, build
WorkspaceImage.Builder imageId(String imageId)
The identifier of the image.
imageId
- The identifier of the image.WorkspaceImage.Builder name(String name)
The name of the image.
name
- The name of the image.WorkspaceImage.Builder description(String description)
The description of the image.
description
- The description of the image.WorkspaceImage.Builder operatingSystem(OperatingSystem operatingSystem)
The operating system that the image is running.
operatingSystem
- The operating system that the image is running.default WorkspaceImage.Builder operatingSystem(Consumer<OperatingSystem.Builder> operatingSystem)
The operating system that the image is running.
This is a convenience that creates an instance of theOperatingSystem.Builder
avoiding the need to
create one manually via OperatingSystem.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to operatingSystem(OperatingSystem)
.operatingSystem
- a consumer that will call methods on OperatingSystem.Builder
operatingSystem(OperatingSystem)
WorkspaceImage.Builder state(String state)
The status of the image.
state
- The status of the image.WorkspaceImageState
,
WorkspaceImageState
WorkspaceImage.Builder state(WorkspaceImageState state)
The status of the image.
state
- The status of the image.WorkspaceImageState
,
WorkspaceImageState
WorkspaceImage.Builder requiredTenancy(String requiredTenancy)
Specifies whether the image is running on dedicated hardware. When bring your own license (BYOL) is enabled, this value is set to DEDICATED.
requiredTenancy
- Specifies whether the image is running on dedicated hardware. When bring your own license (BYOL) is
enabled, this value is set to DEDICATED.WorkspaceImageRequiredTenancy
,
WorkspaceImageRequiredTenancy
WorkspaceImage.Builder requiredTenancy(WorkspaceImageRequiredTenancy requiredTenancy)
Specifies whether the image is running on dedicated hardware. When bring your own license (BYOL) is enabled, this value is set to DEDICATED.
requiredTenancy
- Specifies whether the image is running on dedicated hardware. When bring your own license (BYOL) is
enabled, this value is set to DEDICATED.WorkspaceImageRequiredTenancy
,
WorkspaceImageRequiredTenancy
WorkspaceImage.Builder errorCode(String errorCode)
The error code that is returned for the image.
errorCode
- The error code that is returned for the image.WorkspaceImage.Builder errorMessage(String errorMessage)
The text of the error message that is returned for the image.
errorMessage
- The text of the error message that is returned for the image.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.