com.amazonaws.auth.policy.actions

## 列挙型 S3Actions

- java.lang.Object
- - java.lang.Enum<S3Actions>
  - - com.amazonaws.auth.policy.actions.S3Actions

- すべての実装されたインタフェース:
    Action, java.io.Serializable, java.lang.Comparable<S3Actions>

      public enum S3Actions
      extends java.lang.Enum<S3Actions>
      implements Action

  The available AWS access control policy actions for Amazon S3.
  関連項目:
    `Statement.setActions(java.util.Collection)`

- - ### 列挙型定数の概要

    列挙型定数
    列挙型定数と説明
    `AllS3Actions` Represents any action being taken on Amazon S3.
    `CreateBucket` Action for creating a new Amazon S3 bucket.
    `DeleteBucket` Action for deleting an Amazon S3 bucket.
    `DeleteObject` Action for deleting an object.
    `DeleteObjectVersion` Action for deleting an object version.
    `GetBucketAcl` Action for retrieving the ACL of an Amazon S3 bucket.
    `GetBucketLocation` Action for retrieving the bucket location of an Amazon S3 bucket.
    `GetBucketNotificationConfiguration` Action for retrieving the bucket notification configuration for an Amazon S3 bucket.
    `GetBucketPolicy` Action for retrieving the access control policy for an Amazon S3 bucket.
    `GetBucketRequesterPays` Action for retrieving the requester pays status of an Amazon S3 bucket.
    `GetBucketVersioningConfiguration` Action for retrieving the versioning configuration of an Amazon S3 bucket.
    `GetObject` Action for retrieving an object (GET), object metadata (HEAD) or an object torrent.
    `GetObjectAcl` Action for retrieving an object's ACL.
    `GetObjectVersion` Action for retrieving a object version (GET), object metadata for an object version (HEAD) or a torrent for an object version.
    `GetObjectVersionAcl` Action for retrieving an object version's ACL.
    `ListBuckets` Action for listing the Amazon S3 buckets in an account.
    `ListObjects` Action for listing the objects in an Amazon S3 bucket.
    `ListObjectVersions` Action for listing the object versions in an Amazon S3 bucket.
    `PutObject` Action for uploading an object (PUT or POST).
    `SetBucketAcl` Action for setting the ACL of an Amazon S3 bucket.
    `SetBucketNotificationConfiguration` Action for setting the bucket notification configuration for an Amazon S3 bucket.
    `SetBucketPolicy` Action for setting the access control policy for an Amazon S3 bucket.
    `SetBucketRequesterPays` Action for setting the requester pays status of an Amazon S3 bucket.
    `SetBucketVersioningConfiguration` Action for setting the versioning configuration of an Amazon S3 bucket.
    `SetObjectAcl` Action for setting an object's ACL.
    `SetObjectVersionAcl` Action for setting an object version's ACL.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `getActionName()` Returns the name of this action.
    `static S3Actions` | `valueOf(java.lang.String name)` 指定した名前を持つこの型の列挙型定数を返します。
    `static S3Actions[]` | `values()` この列挙型の定数を含む配列を宣言されている順序で返します。

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

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

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

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### 列挙型定数の詳細

    - #### AllS3Actions

          public static final S3Actions AllS3Actions

      Represents any action being taken on Amazon S3.

    - #### GetObject

          public static final S3Actions GetObject

      Action for retrieving an object (GET), object metadata (HEAD) or an object torrent.

      Valid for use with `S3ObjectResource` resources.

      関連項目:
        `AmazonS3.getObject(com.amazonaws.services.s3.model.GetObjectRequest)`, `AmazonS3.getObjectMetadata(com.amazonaws.services.s3.model.GetObjectMetadataRequest)`

    - #### GetObjectVersion

          public static final S3Actions GetObjectVersion

      Action for retrieving a object version (GET), object metadata for an object version (HEAD) or a torrent for an object version.

      Valid for use with `S3ObjectResource` resources.

      関連項目:
        `AmazonS3.getObject(com.amazonaws.services.s3.model.GetObjectRequest)`, `AmazonS3.getObjectMetadata(com.amazonaws.services.s3.model.GetObjectMetadataRequest)`

    - #### PutObject

          public static final S3Actions PutObject

      Action for uploading an object (PUT or POST).

      Valid for use with `S3ObjectResource` resources.

      関連項目:
        `AmazonS3.putObject(com.amazonaws.services.s3.model.PutObjectRequest)`

    - #### GetObjectAcl

          public static final S3Actions GetObjectAcl

      Action for retrieving an object's ACL.

      Valid for use with `S3ObjectResource` resources.

      関連項目:
        `AmazonS3.getObjectAcl(String, String)`

    - #### GetObjectVersionAcl

          public static final S3Actions GetObjectVersionAcl

      Action for retrieving an object version's ACL.

      Valid for use with `S3ObjectResource` resources.

      関連項目:
        `AmazonS3.getObjectAcl(String, String, String)`

    - #### SetObjectAcl

          public static final S3Actions SetObjectAcl

      Action for setting an object's ACL.

      Valid for use with `S3ObjectResource` resources.

      関連項目:
        `AmazonS3.setObjectAcl(String, String, com.amazonaws.services.s3.model.AccessControlList)`, `AmazonS3.setObjectAcl(String, String, com.amazonaws.services.s3.model.CannedAccessControlList)`

    - #### SetObjectVersionAcl

          public static final S3Actions SetObjectVersionAcl

      Action for setting an object version's ACL.

      Valid for use with `S3ObjectResource` resources.

      関連項目:
        `AmazonS3.setObjectAcl(String, String, String, com.amazonaws.services.s3.model.AccessControlList)`, `AmazonS3.setObjectAcl(String, String, String, com.amazonaws.services.s3.model.CannedAccessControlList)`

    - #### DeleteObject

          public static final S3Actions DeleteObject

      Action for deleting an object.

      Valid for use with `S3ObjectResource` resources.

      関連項目:
        `AmazonS3.deleteObject(com.amazonaws.services.s3.model.DeleteObjectRequest)`

    - #### DeleteObjectVersion

          public static final S3Actions DeleteObjectVersion

      Action for deleting an object version.

      Valid for use with `S3ObjectResource` resources.

      関連項目:
        `AmazonS3.deleteVersion(com.amazonaws.services.s3.model.DeleteVersionRequest)`

    - #### CreateBucket

          public static final S3Actions CreateBucket

      Action for creating a new Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.createBucket(com.amazonaws.services.s3.model.CreateBucketRequest)`

    - #### DeleteBucket

          public static final S3Actions DeleteBucket

      Action for deleting an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.deleteBucket(com.amazonaws.services.s3.model.DeleteBucketRequest)`

    - #### ListObjects

          public static final S3Actions ListObjects

      Action for listing the objects in an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.listObjects(com.amazonaws.services.s3.model.ListObjectsRequest)`

    - #### ListObjectVersions

          public static final S3Actions ListObjectVersions

      Action for listing the object versions in an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.listVersions(com.amazonaws.services.s3.model.ListVersionsRequest)`

    - #### ListBuckets

          public static final S3Actions ListBuckets

      Action for listing the Amazon S3 buckets in an account.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.listBuckets()`

    - #### GetBucketAcl

          public static final S3Actions GetBucketAcl

      Action for retrieving the ACL of an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.getBucketAcl(String)`

    - #### SetBucketAcl

          public static final S3Actions SetBucketAcl

      Action for setting the ACL of an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.setBucketAcl(String, com.amazonaws.services.s3.model.AccessControlList)`, `AmazonS3.setBucketAcl(String, com.amazonaws.services.s3.model.CannedAccessControlList)`

    - #### GetBucketVersioningConfiguration

          public static final S3Actions GetBucketVersioningConfiguration

      Action for retrieving the versioning configuration of an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.getBucketVersioningConfiguration(String)`

    - #### SetBucketVersioningConfiguration

          public static final S3Actions SetBucketVersioningConfiguration

      Action for setting the versioning configuration of an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.setBucketVersioningConfiguration(com.amazonaws.services.s3.model.SetBucketVersioningConfigurationRequest)`

    - #### GetBucketRequesterPays

          public static final S3Actions GetBucketRequesterPays

      Action for retrieving the requester pays status of an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

    - #### SetBucketRequesterPays

          public static final S3Actions SetBucketRequesterPays

      Action for setting the requester pays status of an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

    - #### GetBucketLocation

          public static final S3Actions GetBucketLocation

      Action for retrieving the bucket location of an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.getBucketLocation(String)`

    - #### GetBucketPolicy

          public static final S3Actions GetBucketPolicy

      Action for retrieving the access control policy for an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.getBucketPolicy(String)`

    - #### SetBucketPolicy

          public static final S3Actions SetBucketPolicy

      Action for setting the access control policy for an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.setBucketPolicy(String, String)`

    - #### GetBucketNotificationConfiguration

          public static final S3Actions GetBucketNotificationConfiguration

      Action for retrieving the bucket notification configuration for an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.getBucketNotificationConfiguration(String)`

    - #### SetBucketNotificationConfiguration

          public static final S3Actions SetBucketNotificationConfiguration

      Action for setting the bucket notification configuration for an Amazon S3 bucket.

      Valid for use with `S3BucketResource` resources.

      関連項目:
        `AmazonS3.setBucketNotificationConfiguration(String, com.amazonaws.services.s3.model.BucketNotificationConfiguration)`

  - ### メソッドの詳細

    - #### values

          public static S3Actions[] values()

      この列挙型の定数を含む配列を宣言されている順序で返します。 このメソッドは次のようにして定数を反復するために 使用できます:

          for(S3Actions c: S3Actions.values())
            System.out.println(c);

      戻り値:
        この列挙型の定数を宣言されている順序で 含む配列

    - #### valueOf

          public static S3Actions valueOf(java.lang.String name)

      指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。 (余分な空白文字を含めることはできません。)
      パラメータ:
        `name` - 返される列挙型定数の名前
      戻り値:
        指定された名前を持つ列挙型定数
      例外:
        `java.lang.IllegalArgumentException` - 指定された名前を持つ定数を この列挙型が持っていない場合
        `java.lang.NullPointerException` - 引数がnullの場合

    - #### getActionName

          public java.lang.String getActionName()

      インタフェースからコピーされた説明: `Action`
      Returns the name of this action. For example, 'sqs:SendMessage' is the name corresponding to the SQS action that enables users to send a message to an SQS queue.
      定義:
        `getActionName` インタフェース内 `Action`
      戻り値:
        The name of this action.