Interface WorkspaceImage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkspaceImage.Builder,
,WorkspaceImage> SdkBuilder<WorkspaceImage.Builder,
,WorkspaceImage> SdkPojo
- Enclosing class:
WorkspaceImage
-
Method Summary
Modifier and TypeMethodDescriptionThe date when the image was created.description
(String description) The description of the image.The error code that is returned for the image.errorDetails
(Collection<ErrorDetails> errorDetails) Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.errorDetails
(Consumer<ErrorDetails.Builder>... errorDetails) Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.errorDetails
(ErrorDetails... errorDetails) Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.errorMessage
(String errorMessage) The text of the error message that is returned for the image.The identifier of the image.The name of the image.default WorkspaceImage.Builder
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 status of the image.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.updates
(UpdateResult updates) The updates (if any) that are available for the specified 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
-
Method Details
-
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.
-
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
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 status of the image.
- Parameters:
state
- The status of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The status of the image.
- Parameters:
state
- The 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 toDEDICATED
. 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 toDEDICATED
. 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:
-
errorCode
The error code that is returned for the image.
- Parameters:
errorCode
- The error code that is returned for the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
The text of the error message that is returned for the image.
- Parameters:
errorMessage
- The text of the error message that is returned for the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- 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.
-
updates
The updates (if any) that are available for the specified image.
- Parameters:
updates
- The updates (if any) that are available for the specified image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaUpdateResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdates(UpdateResult)
.- Parameters:
updates
- a consumer that will call methods onUpdateResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorDetails
Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.
- Parameters:
errorDetails
- Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.
- Parameters:
errorDetails
- Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
Additional details of the error returned for the image, including the possible causes of the errors and troubleshooting information.
This is a convenience method that creates an instance of theErrorDetails.Builder
avoiding the need to create one manually viaErrorDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorDetails(List<ErrorDetails>)
.- Parameters:
errorDetails
- a consumer that will call methods onErrorDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-