Interface S3Storage.Builder

    • Method Detail

      • awsAccessKeyId

        S3Storage.Builder awsAccessKeyId​(String awsAccessKeyId)

        The access key ID of the owner of the bucket. Before you specify a value for your access key ID, review and follow the guidance in Best Practices for Amazon Web Services accounts in the Account ManagementReference Guide.

        Parameters:
        awsAccessKeyId - The access key ID of the owner of the bucket. Before you specify a value for your access key ID, review and follow the guidance in Best Practices for Amazon Web Services accounts in the Account ManagementReference Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucket

        S3Storage.Builder bucket​(String bucket)

        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:
        bucket - 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.
      • prefix

        S3Storage.Builder prefix​(String prefix)

        The beginning of the file name of the AMI.

        Parameters:
        prefix - The beginning of the file name of the AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • uploadPolicy

        S3Storage.Builder uploadPolicy​(SdkBytes uploadPolicy)

        An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.

        Parameters:
        uploadPolicy - An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • uploadPolicySignature

        S3Storage.Builder uploadPolicySignature​(String uploadPolicySignature)

        The signature of the JSON document.

        Parameters:
        uploadPolicySignature - The signature of the JSON document.
        Returns:
        Returns a reference to this object so that method calls can be chained together.