Enum S3Actions
- java.lang.Object
-
- java.lang.Enum<S3Actions>
-
- com.amazonaws.auth.policy.actions.S3Actions
-
- All Implemented Interfaces:
Action
,Serializable
,Comparable<S3Actions>
public enum S3Actions extends Enum<S3Actions> implements Action
The available AWS access control policy actions for Amazon S3.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AbortMultipartUpload
Action for aborting a multipart upload.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.DeleteBucketPolicy
Action for deleting the access control policy for an Amazon S3 Bucket.DeleteBucketWebsiteConfiguration
Action for deleting the bucket website configuration for 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.GetBucketCrossOriginConfiguration
Action for getting the Cross origin configuration configuration information set for the bucket.GetBucketLifecycleConfiguration
Action for getting the bucket lifecycle configuration for an Amazon S3 bucket.GetBucketLocation
Action for retrieving the bucket location of an Amazon S3 bucket.GetBucketLogging
Action for getting the bucket logging configuration for 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.GetBucketTagging
Action for getting the bucket tagging configuration for an Amazon S3 bucket.GetBucketVersioningConfiguration
Action for retrieving the versioning configuration of an Amazon S3 bucket.GetBucketWebsiteConfiguration
Action for getting the bucket website configuration for 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.ListBucketMultipartUploads
Actions for listing the in-progress multipart uploads for an Amazon S3 bucket.ListBuckets
Action for listing the Amazon S3 buckets in an account.ListMultipartUploadParts
Action for listing parts that have been uploaded for a multipart upload.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).RestoreObject
Action for restoring a temporary copy of an archived object.SetBucketAcl
Action for setting the ACL of an Amazon S3 bucket.SetBucketCrossOriginConfiguration
Action for setting the Cross origin configuration configuration information set for the bucket.SetBucketLifecycleConfiguration
Action for setting the bucket lifecycle configuration for an Amazon S3 bucket.SetBucketLogging
Action for setting the bucket logging configuration for 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.SetBucketTagging
Action for setting the bucket tagging configuration for an Amazon S3 bucket.SetBucketVersioningConfiguration
Action for setting the versioning configuration of an Amazon S3 bucket.SetBucketWebsiteConfiguration
Action for setting the bucket website configuration for an Amazon S3 bucket.SetObjectAcl
Action for setting an object's ACL.SetObjectVersionAcl
Action for setting an object version's ACL.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
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.
-
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.
-
PutObject
public static final S3Actions PutObject
Action for uploading an object (PUT or POST).Valid for use with
S3ObjectResource
resources.
-
GetObjectAcl
public static final S3Actions GetObjectAcl
Action for retrieving an object's ACL.Valid for use with
S3ObjectResource
resources.- See Also:
AmazonS3.getObjectAcl(String, String)
-
GetObjectVersionAcl
public static final S3Actions GetObjectVersionAcl
Action for retrieving an object version's ACL.Valid for use with
S3ObjectResource
resources.
-
SetObjectAcl
public static final S3Actions SetObjectAcl
Action for setting an object's ACL.Valid for use with
S3ObjectResource
resources.
-
SetObjectVersionAcl
public static final S3Actions SetObjectVersionAcl
Action for setting an object version's ACL.Valid for use with
S3ObjectResource
resources.
-
DeleteObject
public static final S3Actions DeleteObject
Action for deleting an object.Valid for use with
S3ObjectResource
resources.
-
DeleteObjectVersion
public static final S3Actions DeleteObjectVersion
Action for deleting an object version.Valid for use with
S3ObjectResource
resources.
-
ListMultipartUploadParts
public static final S3Actions ListMultipartUploadParts
Action for listing parts that have been uploaded for a multipart upload.
-
AbortMultipartUpload
public static final S3Actions AbortMultipartUpload
Action for aborting a multipart upload.
-
RestoreObject
public static final S3Actions RestoreObject
Action for restoring a temporary copy of an archived object.
-
CreateBucket
public static final S3Actions CreateBucket
Action for creating a new Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
DeleteBucket
public static final S3Actions DeleteBucket
Action for deleting an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
ListObjects
public static final S3Actions ListObjects
Action for listing the objects in an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
ListObjectVersions
public static final S3Actions ListObjectVersions
Action for listing the object versions in an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
ListBuckets
public static final S3Actions ListBuckets
Action for listing the Amazon S3 buckets in an account.Valid for use with
S3BucketResource
resources.- See Also:
AmazonS3.listBuckets()
-
ListBucketMultipartUploads
public static final S3Actions ListBucketMultipartUploads
Actions for listing the in-progress multipart uploads for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
GetBucketAcl
public static final S3Actions GetBucketAcl
Action for retrieving the ACL of an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.- See Also:
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.
-
GetBucketCrossOriginConfiguration
public static final S3Actions GetBucketCrossOriginConfiguration
Action for getting the Cross origin configuration configuration information set for the bucket.Valid for use with
S3BucketResource
resources.
-
SetBucketCrossOriginConfiguration
public static final S3Actions SetBucketCrossOriginConfiguration
Action for setting the Cross origin configuration configuration information set for the bucket.Valid for use with
S3BucketResource
resources.
-
GetBucketVersioningConfiguration
public static final S3Actions GetBucketVersioningConfiguration
Action for retrieving the versioning configuration of an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
SetBucketVersioningConfiguration
public static final S3Actions SetBucketVersioningConfiguration
Action for setting the versioning configuration of an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
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.- See Also:
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.- See Also:
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.- See Also:
AmazonS3.setBucketPolicy(String, String)
-
DeleteBucketPolicy
public static final S3Actions DeleteBucketPolicy
Action for deleting the access control policy for an Amazon S3 Bucket.Valid for use with
S3BucketResource
resources.
-
GetBucketNotificationConfiguration
public static final S3Actions GetBucketNotificationConfiguration
Action for retrieving the bucket notification configuration for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
SetBucketNotificationConfiguration
public static final S3Actions SetBucketNotificationConfiguration
Action for setting the bucket notification configuration for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
GetBucketLogging
public static final S3Actions GetBucketLogging
Action for getting the bucket logging configuration for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
SetBucketLogging
public static final S3Actions SetBucketLogging
Action for setting the bucket logging configuration for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
GetBucketTagging
public static final S3Actions GetBucketTagging
Action for getting the bucket tagging configuration for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
SetBucketTagging
public static final S3Actions SetBucketTagging
Action for setting the bucket tagging configuration for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
GetBucketWebsiteConfiguration
public static final S3Actions GetBucketWebsiteConfiguration
Action for getting the bucket website configuration for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
SetBucketWebsiteConfiguration
public static final S3Actions SetBucketWebsiteConfiguration
Action for setting the bucket website configuration for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
DeleteBucketWebsiteConfiguration
public static final S3Actions DeleteBucketWebsiteConfiguration
Action for deleting the bucket website configuration for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
GetBucketLifecycleConfiguration
public static final S3Actions GetBucketLifecycleConfiguration
Action for getting the bucket lifecycle configuration for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
SetBucketLifecycleConfiguration
public static final S3Actions SetBucketLifecycleConfiguration
Action for setting the bucket lifecycle configuration for an Amazon S3 bucket.Valid for use with
S3BucketResource
resources.
-
-
Method Detail
-
values
public static S3Actions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (S3Actions c : S3Actions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static S3Actions valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getActionName
public String getActionName()
Description copied from interface: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.- Specified by:
getActionName
in interfaceAction
- Returns:
- The name of this action.
-
-