Interface BundleInstanceRequest.Builder

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

  • Method Details

    • instanceId

      BundleInstanceRequest.Builder instanceId(String instanceId)

      The ID of the instance to bundle.

      Default: None

      Parameters:
      instanceId - The ID of the instance to bundle.

      Default: None

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storage

      The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.

      Parameters:
      storage - The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storage

      The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to storage(Storage).

      Parameters:
      storage - a consumer that will call methods on Storage.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

      BundleInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder