Class BucketGrant


  • public final class BucketGrant
    extends java.lang.Object
    • Method Detail

      • id

        public java.util.Optional<java.lang.String> id()
        Returns:
        Canonical user id to grant for. Used only when `type` is `CanonicalUser`.
      • permissions

        public java.util.List<java.lang.String> permissions()
        Returns:
        List of permissions to apply for grantee. Valid values are `READ`, `WRITE`, `READ_ACP`, `WRITE_ACP`, `FULL_CONTROL`.
      • type

        public java.lang.String type()
        Returns:
        Type of grantee to apply for. Valid values are `CanonicalUser` and `Group`. `AmazonCustomerByEmail` is not supported.
      • uri

        public java.util.Optional<java.lang.String> uri()
        Returns:
        Uri address to grant for. Used only when `type` is `Group`.