Interface CreateExportImageTaskRequest.Builder
- All Superinterfaces:
AppStreamRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateExportImageTaskRequest.Builder,,CreateExportImageTaskRequest> SdkBuilder<CreateExportImageTaskRequest.Builder,,CreateExportImageTaskRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateExportImageTaskRequest
@Mutable
@NotThreadSafe
public static interface CreateExportImageTaskRequest.Builder
extends AppStreamRequest.Builder, SdkPojo, CopyableBuilder<CreateExportImageTaskRequest.Builder,CreateExportImageTaskRequest>
-
Method Summary
Modifier and TypeMethodDescriptionamiDescription(String amiDescription) An optional description for the exported AMI.The name for the exported EC2 AMI.iamRoleArn(String iamRoleArn) The ARN of the IAM role that allows WorkSpaces Applications to create the AMI.The name of the WorkSpaces Applications image to export.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tagSpecifications(Map<String, String> tagSpecifications) The tags to apply to the exported AMI.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
imageName
The name of the WorkSpaces Applications image to export. The image must be in an available state and owned by your account.
- Parameters:
imageName- The name of the WorkSpaces Applications image to export. The image must be in an available state and owned by your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amiName
The name for the exported EC2 AMI. This is a required field that must be unique within your account and region.
- Parameters:
amiName- The name for the exported EC2 AMI. This is a required field that must be unique within your account and region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
The ARN of the IAM role that allows WorkSpaces Applications to create the AMI. The role must have permissions to copy images, describe images, and create tags, with a trust relationship allowing appstream.amazonaws.com to assume the role.
- Parameters:
iamRoleArn- The ARN of the IAM role that allows WorkSpaces Applications to create the AMI. The role must have permissions to copy images, describe images, and create tags, with a trust relationship allowing appstream.amazonaws.com to assume the role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
The tags to apply to the exported AMI. These tags help you organize and manage your EC2 AMIs.
- Parameters:
tagSpecifications- The tags to apply to the exported AMI. These tags help you organize and manage your EC2 AMIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amiDescription
An optional description for the exported AMI. This description will be applied to the resulting EC2 AMI.
- Parameters:
amiDescription- An optional description for the exported AMI. This description will be applied to the resulting EC2 AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateExportImageTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateExportImageTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-