Interface CreateExportImageTaskRequest.Builder

  • 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

      CreateExportImageTaskRequest.Builder tagSpecifications(Map<String,String> 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

      CreateExportImageTaskRequest.Builder amiDescription(String 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.