Interface CopyWorkspaceImageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CopyWorkspaceImageRequest.Builder,
,CopyWorkspaceImageRequest> SdkBuilder<CopyWorkspaceImageRequest.Builder,
,CopyWorkspaceImageRequest> SdkPojo
,SdkRequest.Builder
,WorkSpacesRequest.Builder
- Enclosing class:
CopyWorkspaceImageRequest
public static interface CopyWorkspaceImageRequest.Builder
extends WorkSpacesRequest.Builder, SdkPojo, CopyableBuilder<CopyWorkspaceImageRequest.Builder,CopyWorkspaceImageRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the image.The name of the image.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceImageId
(String sourceImageId) The identifier of the source image.sourceRegion
(String sourceRegion) The identifier of the source Region.tags
(Collection<Tag> tags) The tags for the image.tags
(Consumer<Tag.Builder>... tags) The tags for the image.The tags for the image.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesRequest.Builder
build
-
Method Details
-
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
A description of the image.
- Parameters:
description
- A description of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceImageId
The identifier of the source image.
- Parameters:
sourceImageId
- The identifier of the source image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRegion
The identifier of the source Region.
- Parameters:
sourceRegion
- The identifier of the source Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the image.
- Parameters:
tags
- The tags for the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the image.
- Parameters:
tags
- The tags for the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the image.
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
CopyWorkspaceImageRequest.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
CopyWorkspaceImageRequest.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.
-