Interface BundleInstanceRequest.Builder

    • Method Detail

      • 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

        BundleInstanceRequest.Builder storage​(Storage 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.
      • dryRun

        BundleInstanceRequest.Builder dryRun​(Boolean 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.