Interface ImportCustomWorkspaceImageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ImportCustomWorkspaceImageRequest.Builder,
,ImportCustomWorkspaceImageRequest> SdkBuilder<ImportCustomWorkspaceImageRequest.Builder,
,ImportCustomWorkspaceImageRequest> SdkPojo
,SdkRequest.Builder
,WorkSpacesRequest.Builder
- Enclosing class:
ImportCustomWorkspaceImageRequest
-
Method Summary
Modifier and TypeMethodDescriptioncomputeType
(String computeType) The supported compute type for the WorkSpace image.computeType
(ImageComputeType computeType) The supported compute type for the WorkSpace image.imageDescription
(String imageDescription) The description of the WorkSpace image.The name of the WorkSpace image.imageSource
(Consumer<ImageSourceIdentifier.Builder> imageSource) The options for image import source.imageSource
(ImageSourceIdentifier imageSource) The options for image import source.infrastructureConfigurationArn
(String infrastructureConfigurationArn) The infrastructure configuration ARN that specifies how the WorkSpace image is built.The OS version for the WorkSpace image source.The OS version for the WorkSpace image source.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The platform for the WorkSpace image source.The platform for the WorkSpace image source.The supported protocol for the WorkSpace image.protocol
(CustomImageProtocol protocol) The supported protocol for the WorkSpace image.tags
(Collection<Tag> tags) The resource tags.tags
(Consumer<Tag.Builder>... tags) The resource tags.The resource tags.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 Details
-
imageName
The name of the WorkSpace image.
- Parameters:
imageName
- The name of the WorkSpace image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageDescription
The description of the WorkSpace image.
- Parameters:
imageDescription
- The description of the WorkSpace image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeType
The supported compute type for the WorkSpace image.
- Parameters:
computeType
- The supported compute type for the WorkSpace image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
computeType
The supported compute type for the WorkSpace image.
- Parameters:
computeType
- The supported compute type for the WorkSpace image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The supported protocol for the WorkSpace image. Windows 11 does not support PCOIP protocol.
- Parameters:
protocol
- The supported protocol for the WorkSpace image. Windows 11 does not support PCOIP protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The supported protocol for the WorkSpace image. Windows 11 does not support PCOIP protocol.
- Parameters:
protocol
- The supported protocol for the WorkSpace image. Windows 11 does not support PCOIP protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageSource
The options for image import source.
- Parameters:
imageSource
- The options for image import source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageSource
default ImportCustomWorkspaceImageRequest.Builder imageSource(Consumer<ImageSourceIdentifier.Builder> imageSource) The options for image import source.
This is a convenience method that creates an instance of theImageSourceIdentifier.Builder
avoiding the need to create one manually viaImageSourceIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageSource(ImageSourceIdentifier)
.- Parameters:
imageSource
- a consumer that will call methods onImageSourceIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
infrastructureConfigurationArn
ImportCustomWorkspaceImageRequest.Builder infrastructureConfigurationArn(String infrastructureConfigurationArn) The infrastructure configuration ARN that specifies how the WorkSpace image is built.
- Parameters:
infrastructureConfigurationArn
- The infrastructure configuration ARN that specifies how the WorkSpace image is built.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
The platform for the WorkSpace image source.
- Parameters:
platform
- The platform for the WorkSpace image source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platform
The platform for the WorkSpace image source.
- Parameters:
platform
- The platform for the WorkSpace image source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
osVersion
The OS version for the WorkSpace image source.
- Parameters:
osVersion
- The OS version for the WorkSpace image source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
osVersion
The OS version for the WorkSpace image source.
- Parameters:
osVersion
- The OS version for the WorkSpace image source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The resource tags. Each WorkSpaces resource can have a maximum of 50 tags.
- Parameters:
tags
- The resource tags. Each WorkSpaces resource can have a maximum of 50 tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The resource tags. Each WorkSpaces resource can have a maximum of 50 tags.
- Parameters:
tags
- The resource tags. Each WorkSpaces resource can have a maximum of 50 tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The resource tags. Each WorkSpaces resource can have a maximum of 50 tags.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ImportCustomWorkspaceImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ImportCustomWorkspaceImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-