public enum GroupGrantee extends java.lang.Enum<GroupGrantee> implements Grantee
| 列挙型定数と説明 |
|---|
AllUsers
Grants anonymous access to any Amazon S3 object or bucket.
|
AuthenticatedUsers
Grants access to buckets or objects to anyone with an Amazon AWS account.
|
LogDelivery
Grants access to Amazon S3 log delivery so that an S3 bucket can receive
server access logs.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.lang.String |
getIdentifier()
Gets the group grantee's URI.
|
java.lang.String |
getTypeIdentifier()
Returns the identifier for the type of this grant, to be used when
specifying grants in the header of a request.
|
static GroupGrantee |
parseGroupGrantee(java.lang.String groupUri)
Gets the
GroupGrantee enumeration value
with the specified Amazon S3 group URI (eg. |
void |
setIdentifier(java.lang.String id)
For internal use only.
|
java.lang.String |
toString() |
static GroupGrantee |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static GroupGrantee[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final GroupGrantee AllUsers
Amazon highly recommends that users do not grant the
AllUsers group write
access to their buckets. If granted, users will have no control over the objects
others can store and their associated charges.
public static final GroupGrantee AuthenticatedUsers
public static final GroupGrantee LogDelivery
public static GroupGrantee[] values()
for(GroupGrantee c: GroupGrantee.values()) System.out.println(c);
public static GroupGrantee valueOf(java.lang.String name)
name - 返される列挙型定数の名前java.lang.IllegalArgumentException - 指定された名前を持つ定数を
この列挙型が持っていない場合java.lang.NullPointerException - 引数がnullの場合public java.lang.String getTypeIdentifier()
GranteegetTypeIdentifier インタフェース内 Granteepublic java.lang.String getIdentifier()
getIdentifier インタフェース内 GranteeGrantee#setIdentifier()public void setIdentifier(java.lang.String id)
setIdentifier インタフェース内 Granteeid - The identifier for this grantee.Grantee.getIdentifier()public java.lang.String toString()
toString クラス内 java.lang.Enum<GroupGrantee>Enum.toString()public static GroupGrantee parseGroupGrantee(java.lang.String groupUri)
GroupGrantee enumeration value
with the specified Amazon S3 group URI (eg.
http://acs.amazonaws.com/groups/global/AllUsers).
Returns null if an invalid
Amazon S3 group URI is specified.groupUri - A string representation of an Amazon S3 group URI (eg.
http://acs.amazonaws.com/groups/global/AllUsers)GroupGrantee object represented by the given Amazon S3 group
URI string. Returns null
if the string isn't a valid Amazon S3 group
URI.