public static interface WorkspaceImage.Builder extends SdkPojo, CopyableBuilder<WorkspaceImage.Builder,WorkspaceImage>
| Modifier and Type | Method and Description |
|---|---|
WorkspaceImage.Builder |
created(Instant created)
The date when the image was created.
|
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 |
ownerAccountId(String ownerAccountId)
The identifier of the Amazon Web Services account that owns the image.
|
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.
|
default WorkspaceImage.Builder |
updates(Consumer<UpdateResult.Builder> updates)
The updates (if any) that are available for the specified image.
|
WorkspaceImage.Builder |
updates(UpdateResult updates)
The updates (if any) that are available for the specified image.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWorkspaceImage.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 method 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.BuilderoperatingSystem(OperatingSystem)WorkspaceImage.Builder state(String state)
The status of the image.
state - The status of the image.WorkspaceImageState,
WorkspaceImageStateWorkspaceImage.Builder state(WorkspaceImageState state)
The status of the image.
state - The status of the image.WorkspaceImageState,
WorkspaceImageStateWorkspaceImage.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. For more information, see Bring Your Own
Windows Desktop Images.
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.WorkspaceImageRequiredTenancy,
WorkspaceImageRequiredTenancyWorkspaceImage.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. For more information, see Bring Your Own
Windows Desktop Images.
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.WorkspaceImageRequiredTenancy,
WorkspaceImageRequiredTenancyWorkspaceImage.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.WorkspaceImage.Builder created(Instant created)
The date when the image was created. If the image has been shared, the Amazon Web Services account that the image has been shared with sees the original creation date of the image.
created - The date when the image was created. If the image has been shared, the Amazon Web Services account
that the image has been shared with sees the original creation date of the image.WorkspaceImage.Builder ownerAccountId(String ownerAccountId)
The identifier of the Amazon Web Services account that owns the image.
ownerAccountId - The identifier of the Amazon Web Services account that owns the image.WorkspaceImage.Builder updates(UpdateResult updates)
The updates (if any) that are available for the specified image.
updates - The updates (if any) that are available for the specified image.default WorkspaceImage.Builder updates(Consumer<UpdateResult.Builder> updates)
The updates (if any) that are available for the specified image.
This is a convenience method that creates an instance of theUpdateResult.Builder avoiding the need
to create one manually via UpdateResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to updates(UpdateResult).
updates - a consumer that will call methods on UpdateResult.Builderupdates(UpdateResult)Copyright © 2023. All rights reserved.