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 AbortMultipartUploadAction for aborting a multipart upload.AllS3ActionsRepresents any action being taken on Amazon S3.CreateBucketAction for creating a new Amazon S3 bucket.DeleteBucketAction for deleting an Amazon S3 bucket.DeleteBucketPolicyAction for deleting the access control policy for an Amazon S3 Bucket.DeleteBucketWebsiteConfigurationAction for deleting the bucket website configuration for an Amazon S3 bucket.DeleteObjectAction for deleting an object.DeleteObjectVersionAction for deleting an object version.GetBucketAclAction for retrieving the ACL of an Amazon S3 bucket.GetBucketCrossOriginConfigurationAction for getting the Cross origin configuration configuration information set for the bucket.GetBucketLifecycleConfigurationAction for getting the bucket lifecycle configuration for an Amazon S3 bucket.GetBucketLocationAction for retrieving the bucket location of an Amazon S3 bucket.GetBucketLoggingAction for getting the bucket logging configuration for an Amazon S3 bucket.GetBucketNotificationConfigurationAction for retrieving the bucket notification configuration for an Amazon S3 bucket.GetBucketPolicyAction for retrieving the access control policy for an Amazon S3 bucket.GetBucketRequesterPaysAction for retrieving the requester pays status of an Amazon S3 bucket.GetBucketTaggingAction for getting the bucket tagging configuration for an Amazon S3 bucket.GetBucketVersioningConfigurationAction for retrieving the versioning configuration of an Amazon S3 bucket.GetBucketWebsiteConfigurationAction for getting the bucket website configuration for an Amazon S3 bucket.GetObjectAction for retrieving an object (GET), object metadata (HEAD) or an object torrent.GetObjectAclAction for retrieving an object's ACL.GetObjectVersionAction for retrieving a object version (GET), object metadata for an object version (HEAD) or a torrent for an object version.GetObjectVersionAclAction for retrieving an object version's ACL.ListBucketMultipartUploadsActions for listing the in-progress multipart uploads for an Amazon S3 bucket.ListBucketsAction for listing the Amazon S3 buckets in an account.ListMultipartUploadPartsAction for listing parts that have been uploaded for a multipart upload.ListObjectsAction for listing the objects in an Amazon S3 bucket.ListObjectVersionsAction for listing the object versions in an Amazon S3 bucket.PutObjectAction for uploading an object (PUT or POST).RestoreObjectAction for restoring a temporary copy of an archived object.SetBucketAclAction for setting the ACL of an Amazon S3 bucket.SetBucketCrossOriginConfigurationAction for setting the Cross origin configuration configuration information set for the bucket.SetBucketLifecycleConfigurationAction for setting the bucket lifecycle configuration for an Amazon S3 bucket.SetBucketLoggingAction for setting the bucket logging configuration for an Amazon S3 bucket.SetBucketNotificationConfigurationAction for setting the bucket notification configuration for an Amazon S3 bucket.SetBucketPolicyAction for setting the access control policy for an Amazon S3 bucket.SetBucketRequesterPaysAction for setting the requester pays status of an Amazon S3 bucket.SetBucketTaggingAction for setting the bucket tagging configuration for an Amazon S3 bucket.SetBucketVersioningConfigurationAction for setting the versioning configuration of an Amazon S3 bucket.SetBucketWebsiteConfigurationAction for setting the bucket website configuration for an Amazon S3 bucket.SetObjectAclAction for setting an object's ACL.SetObjectVersionAclAction for setting an object version's ACL.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActionName()Returns the name of this action.static S3ActionsvalueOf(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
S3ObjectResourceresources.
-
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
S3ObjectResourceresources.
-
PutObject
public static final S3Actions PutObject
Action for uploading an object (PUT or POST).Valid for use with
S3ObjectResourceresources.
-
GetObjectAcl
public static final S3Actions GetObjectAcl
Action for retrieving an object's ACL.Valid for use with
S3ObjectResourceresources.- See Also:
AmazonS3.getObjectAcl(String, String)
-
GetObjectVersionAcl
public static final S3Actions GetObjectVersionAcl
Action for retrieving an object version's ACL.Valid for use with
S3ObjectResourceresources.
-
SetObjectAcl
public static final S3Actions SetObjectAcl
Action for setting an object's ACL.Valid for use with
S3ObjectResourceresources.
-
SetObjectVersionAcl
public static final S3Actions SetObjectVersionAcl
Action for setting an object version's ACL.Valid for use with
S3ObjectResourceresources.
-
DeleteObject
public static final S3Actions DeleteObject
Action for deleting an object.Valid for use with
S3ObjectResourceresources.
-
DeleteObjectVersion
public static final S3Actions DeleteObjectVersion
Action for deleting an object version.Valid for use with
S3ObjectResourceresources.
-
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
S3BucketResourceresources.
-
DeleteBucket
public static final S3Actions DeleteBucket
Action for deleting an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
ListObjects
public static final S3Actions ListObjects
Action for listing the objects in an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
ListObjectVersions
public static final S3Actions ListObjectVersions
Action for listing the object versions in an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
ListBuckets
public static final S3Actions ListBuckets
Action for listing the Amazon S3 buckets in an account.Valid for use with
S3BucketResourceresources.- 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
S3BucketResourceresources.
-
GetBucketAcl
public static final S3Actions GetBucketAcl
Action for retrieving the ACL of an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.- 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
S3BucketResourceresources.
-
GetBucketCrossOriginConfiguration
public static final S3Actions GetBucketCrossOriginConfiguration
Action for getting the Cross origin configuration configuration information set for the bucket.Valid for use with
S3BucketResourceresources.
-
SetBucketCrossOriginConfiguration
public static final S3Actions SetBucketCrossOriginConfiguration
Action for setting the Cross origin configuration configuration information set for the bucket.Valid for use with
S3BucketResourceresources.
-
GetBucketVersioningConfiguration
public static final S3Actions GetBucketVersioningConfiguration
Action for retrieving the versioning configuration of an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
SetBucketVersioningConfiguration
public static final S3Actions SetBucketVersioningConfiguration
Action for setting the versioning configuration of an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
GetBucketRequesterPays
public static final S3Actions GetBucketRequesterPays
Action for retrieving the requester pays status of an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
SetBucketRequesterPays
public static final S3Actions SetBucketRequesterPays
Action for setting the requester pays status of an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
GetBucketLocation
public static final S3Actions GetBucketLocation
Action for retrieving the bucket location of an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.- 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
S3BucketResourceresources.- 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
S3BucketResourceresources.- 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
S3BucketResourceresources.
-
GetBucketNotificationConfiguration
public static final S3Actions GetBucketNotificationConfiguration
Action for retrieving the bucket notification configuration for an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
SetBucketNotificationConfiguration
public static final S3Actions SetBucketNotificationConfiguration
Action for setting the bucket notification configuration for an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
GetBucketLogging
public static final S3Actions GetBucketLogging
Action for getting the bucket logging configuration for an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
SetBucketLogging
public static final S3Actions SetBucketLogging
Action for setting the bucket logging configuration for an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
GetBucketTagging
public static final S3Actions GetBucketTagging
Action for getting the bucket tagging configuration for an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
SetBucketTagging
public static final S3Actions SetBucketTagging
Action for setting the bucket tagging configuration for an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
GetBucketWebsiteConfiguration
public static final S3Actions GetBucketWebsiteConfiguration
Action for getting the bucket website configuration for an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
SetBucketWebsiteConfiguration
public static final S3Actions SetBucketWebsiteConfiguration
Action for setting the bucket website configuration for an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
DeleteBucketWebsiteConfiguration
public static final S3Actions DeleteBucketWebsiteConfiguration
Action for deleting the bucket website configuration for an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
GetBucketLifecycleConfiguration
public static final S3Actions GetBucketLifecycleConfiguration
Action for getting the bucket lifecycle configuration for an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
SetBucketLifecycleConfiguration
public static final S3Actions SetBucketLifecycleConfiguration
Action for setting the bucket lifecycle configuration for an Amazon S3 bucket.Valid for use with
S3BucketResourceresources.
-
-
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:ActionReturns 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:
getActionNamein interfaceAction- Returns:
- The name of this action.
-
-