com.amazonaws.services.ec2.model

## クラス S3Storage

- java.lang.Object
- - com.amazonaws.services.ec2.model.S3Storage

- すべての実装されたインタフェース:
    java.io.Serializable

      public class S3Storage
      extends java.lang.Object
      implements java.io.Serializable

  Describes the S3 storage destination for a BundleTask when bundling a Windows instance.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `S3Storage()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAWSAccessKeyId()` The Access Key ID of the owner of the Amazon S3 bucket.
    `java.lang.String` | `getBucket()` The bucket in which to store the AMI.
    `java.lang.String` | `getPrefix()` The prefix to use when storing the AMI in S3.
    `java.lang.String` | `getUploadPolicy()` A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf.
    `java.lang.String` | `getUploadPolicySignature()` The signature of the Base64 encoded JSON document.
    `int` | `hashCode()`
    `void` | `setAWSAccessKeyId(java.lang.String aWSAccessKeyId)` The Access Key ID of the owner of the Amazon S3 bucket.
    `void` | `setBucket(java.lang.String bucket)` The bucket in which to store the AMI.
    `void` | `setPrefix(java.lang.String prefix)` The prefix to use when storing the AMI in S3.
    `void` | `setUploadPolicy(java.lang.String uploadPolicy)` A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf.
    `void` | `setUploadPolicySignature(java.lang.String uploadPolicySignature)` The signature of the Base64 encoded JSON document.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `S3Storage` | `withAWSAccessKeyId(java.lang.String aWSAccessKeyId)` The Access Key ID of the owner of the Amazon S3 bucket.
    `S3Storage` | `withBucket(java.lang.String bucket)` The bucket in which to store the AMI.
    `S3Storage` | `withPrefix(java.lang.String prefix)` The prefix to use when storing the AMI in S3.
    `S3Storage` | `withUploadPolicy(java.lang.String uploadPolicy)` A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf.
    `S3Storage` | `withUploadPolicySignature(java.lang.String uploadPolicySignature)` The signature of the Base64 encoded JSON document.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### S3Storage

          public S3Storage()

  - ### メソッドの詳細

    - #### getBucket

          public java.lang.String getBucket()

      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.

      戻り値:
        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.

    - #### setBucket

          public void setBucket(java.lang.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.

      パラメータ:
        `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.

    - #### withBucket

          public S3Storage withBucket(java.lang.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.

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

      パラメータ:
        `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.

    - #### getPrefix

          public java.lang.String getPrefix()

      The prefix to use when storing the AMI in S3.
      戻り値:
        The prefix to use when storing the AMI in S3.

    - #### setPrefix

          public void setPrefix(java.lang.String prefix)

      The prefix to use when storing the AMI in S3.
      パラメータ:
        `prefix` - The prefix to use when storing the AMI in S3.

    - #### withPrefix

          public S3Storage withPrefix(java.lang.String prefix)

      The prefix to use when storing the AMI in S3.

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

      パラメータ:
        `prefix` - The prefix to use when storing the AMI in S3.

    - #### getAWSAccessKeyId

          public java.lang.String getAWSAccessKeyId()

      The Access Key ID of the owner of the Amazon S3 bucket.
      戻り値:
        The Access Key ID of the owner of the Amazon S3 bucket.

    - #### setAWSAccessKeyId

          public void setAWSAccessKeyId(java.lang.String aWSAccessKeyId)

      The Access Key ID of the owner of the Amazon S3 bucket.
      パラメータ:
        `aWSAccessKeyId` - The Access Key ID of the owner of the Amazon S3 bucket.

    - #### withAWSAccessKeyId

          public S3Storage withAWSAccessKeyId(java.lang.String aWSAccessKeyId)

      The Access Key ID of the owner of the Amazon S3 bucket.

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

      パラメータ:
        `aWSAccessKeyId` - The Access Key ID of the owner of the Amazon S3 bucket.

    - #### getUploadPolicy

          public java.lang.String getUploadPolicy()

      A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf.
      戻り値:
        A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf.

    - #### setUploadPolicy

          public void setUploadPolicy(java.lang.String uploadPolicy)

      A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf.
      パラメータ:
        `uploadPolicy` - A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf.

    - #### withUploadPolicy

          public S3Storage withUploadPolicy(java.lang.String uploadPolicy)

      A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf.

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

      パラメータ:
        `uploadPolicy` - A Base64-encoded Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf.

    - #### getUploadPolicySignature

          public java.lang.String getUploadPolicySignature()

      The signature of the Base64 encoded JSON document.
      戻り値:
        The signature of the Base64 encoded JSON document.

    - #### setUploadPolicySignature

          public void setUploadPolicySignature(java.lang.String uploadPolicySignature)

      The signature of the Base64 encoded JSON document.
      パラメータ:
        `uploadPolicySignature` - The signature of the Base64 encoded JSON document.

    - #### withUploadPolicySignature

          public S3Storage withUploadPolicySignature(java.lang.String uploadPolicySignature)

      The signature of the Base64 encoded JSON document.

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

      パラメータ:
        `uploadPolicySignature` - The signature of the Base64 encoded JSON document.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`