|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<S3Actions>
com.amazonaws.auth.policy.actions.S3Actions
public enum S3Actions
The available AWS access control policy actions for Amazon S3.
Statement.setActions(java.util.Collection)
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
String |
getActionName()
Returns the name of this action. |
static S3Actions |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static S3Actions[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final S3Actions AllS3Actions
public static final S3Actions GetObject
Valid for use with S3ObjectResource
resources.
AmazonS3.getObject(com.amazonaws.services.s3.model.GetObjectRequest)
,
AmazonS3.getObjectMetadata(com.amazonaws.services.s3.model.GetObjectMetadataRequest)
public static final S3Actions GetObjectVersion
Valid for use with S3ObjectResource
resources.
AmazonS3.getObject(com.amazonaws.services.s3.model.GetObjectRequest)
,
AmazonS3.getObjectMetadata(com.amazonaws.services.s3.model.GetObjectMetadataRequest)
public static final S3Actions PutObject
Valid for use with S3ObjectResource
resources.
AmazonS3.putObject(com.amazonaws.services.s3.model.PutObjectRequest)
public static final S3Actions GetObjectAcl
Valid for use with S3ObjectResource
resources.
AmazonS3.getObjectAcl(String, String)
public static final S3Actions GetObjectVersionAcl
Valid for use with S3ObjectResource
resources.
AmazonS3.getObjectAcl(String, String, String)
public static final S3Actions SetObjectAcl
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)
public static final S3Actions SetObjectVersionAcl
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)
public static final S3Actions DeleteObject
Valid for use with S3ObjectResource
resources.
AmazonS3.deleteObject(com.amazonaws.services.s3.model.DeleteObjectRequest)
public static final S3Actions DeleteObjectVersion
Valid for use with S3ObjectResource
resources.
AmazonS3.deleteVersion(com.amazonaws.services.s3.model.DeleteVersionRequest)
public static final S3Actions CreateBucket
Valid for use with S3BucketResource
resources.
AmazonS3.createBucket(com.amazonaws.services.s3.model.CreateBucketRequest)
public static final S3Actions DeleteBucket
Valid for use with S3BucketResource
resources.
AmazonS3.deleteBucket(com.amazonaws.services.s3.model.DeleteBucketRequest)
public static final S3Actions ListObjects
Valid for use with S3BucketResource
resources.
AmazonS3.listObjects(com.amazonaws.services.s3.model.ListObjectsRequest)
public static final S3Actions ListObjectVersions
Valid for use with S3BucketResource
resources.
AmazonS3.listVersions(com.amazonaws.services.s3.model.ListVersionsRequest)
public static final S3Actions ListBuckets
Valid for use with S3BucketResource
resources.
AmazonS3.listBuckets()
public static final S3Actions GetBucketAcl
Valid for use with S3BucketResource
resources.
AmazonS3.getBucketAcl(String)
public static final S3Actions SetBucketAcl
Valid for use with S3BucketResource
resources.
AmazonS3.setBucketAcl(String, com.amazonaws.services.s3.model.AccessControlList)
,
AmazonS3.setBucketAcl(String, com.amazonaws.services.s3.model.CannedAccessControlList)
public static final S3Actions GetBucketVersioningConfiguration
Valid for use with S3BucketResource
resources.
AmazonS3.getBucketVersioningConfiguration(String)
public static final S3Actions SetBucketVersioningConfiguration
Valid for use with S3BucketResource
resources.
AmazonS3.setBucketVersioningConfiguration(com.amazonaws.services.s3.model.SetBucketVersioningConfigurationRequest)
public static final S3Actions GetBucketRequesterPays
Valid for use with S3BucketResource
resources.
public static final S3Actions SetBucketRequesterPays
Valid for use with S3BucketResource
resources.
public static final S3Actions GetBucketLocation
Valid for use with S3BucketResource
resources.
AmazonS3.getBucketLocation(String)
public static final S3Actions GetBucketPolicy
Valid for use with S3BucketResource
resources.
AmazonS3.getBucketPolicy(String)
public static final S3Actions SetBucketPolicy
Valid for use with S3BucketResource
resources.
AmazonS3.setBucketPolicy(String, String)
public static final S3Actions GetBucketNotificationConfiguration
Valid for use with S3BucketResource
resources.
AmazonS3.getBucketNotificationConfiguration(String)
public static final S3Actions SetBucketNotificationConfiguration
Valid for use with S3BucketResource
resources.
AmazonS3.setBucketNotificationConfiguration(String,
com.amazonaws.services.s3.model.BucketNotificationConfiguration)
Method Detail |
---|
public static S3Actions[] values()
for (S3Actions c : S3Actions.values()) System.out.println(c);
public static S3Actions valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getActionName()
Action
getActionName
in interface Action
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |