Package com.adaptris.aws2.s3.acl
Class S3ObjectAclGrant
java.lang.Object
com.adaptris.aws2.s3.acl.S3ObjectAclGrant
Specifies a grant, consisting of one grantee and one permission.
-
Constructor Summary
ConstructorsConstructorDescriptionS3ObjectAclGrant(S3ObjectAclGrantee grantee, S3ObjectAclPermission permission) -
Method Summary
Modifier and TypeMethodDescriptionThe grantee being granted a permission by this grant.The permission being granted to the grantee by this grant.voidsetGrantee(S3ObjectAclGrantee grantee) The grantee being granted a permission by this grant.voidsetPermission(S3ObjectAclPermission permission) The permission being granted to the grantee by this grant.
-
Constructor Details
-
S3ObjectAclGrant
public S3ObjectAclGrant() -
S3ObjectAclGrant
-
-
Method Details
-
getGrantee
The grantee being granted a permission by this grant. -
setGrantee
The grantee being granted a permission by this grant. -
getPermission
The permission being granted to the grantee by this grant.- FULL_CONTROL: Allows grantee the READ, READ_ACP, and WRITE_ACP permissions on the object.
- READ: Allows grantee to read the object data and its metadata.
- READ_ACP: Allows grantee to read the object ACL.
- WRITE: Not applicable for objects, only for buckets.
- WRITE_ACP: Allows grantee to write the ACL for the applicable object.
-
setPermission
The permission being granted to the grantee by this grant.- FULL_CONTROL: Allows grantee the READ, READ_ACP, and WRITE_ACP permissions on the object.
- READ: Allows grantee to read the object data and its metadata.
- READ_ACP: Allows grantee to read the object ACL.
- WRITE: Not applicable for objects, only for buckets.
- WRITE_ACP: Allows grantee to write the ACL for the applicable object.
-