Interface CreateStoreImageTaskRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateStoreImageTaskRequest.Builder,CreateStoreImageTaskRequest>, Ec2Request.Builder, SdkBuilder<CreateStoreImageTaskRequest.Builder,CreateStoreImageTaskRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateStoreImageTaskRequest

public static interface CreateStoreImageTaskRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateStoreImageTaskRequest.Builder,CreateStoreImageTaskRequest>
  • Method Details

    • imageId

      The ID of the AMI.

      Parameters:
      imageId - The ID of the AMI.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucket

      The name of the Amazon S3 bucket in which the AMI object will be stored. The bucket must be in the Region in which the request is being made. The AMI object appears in the bucket only after the upload task has completed.

      Parameters:
      bucket - The name of the Amazon S3 bucket in which the AMI object will be stored. The bucket must be in the Region in which the request is being made. The AMI object appears in the bucket only after the upload task has completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3ObjectTags

      The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.

      Parameters:
      s3ObjectTags - The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3ObjectTags

      CreateStoreImageTaskRequest.Builder s3ObjectTags(S3ObjectTag... s3ObjectTags)

      The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.

      Parameters:
      s3ObjectTags - The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3ObjectTags

      The tags to apply to the AMI object that will be stored in the Amazon S3 bucket.

      This is a convenience method that creates an instance of the S3ObjectTag.Builder avoiding the need to create one manually via S3ObjectTag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to s3ObjectTags(List<S3ObjectTag>).

      Parameters:
      s3ObjectTags - a consumer that will call methods on S3ObjectTag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dryRun

      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

      Parameters:
      dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateStoreImageTaskRequest.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.