public enum GroupGrantee extends Enum<GroupGrantee> implements Grantee
Enum Constant and Description |
---|
AllUsers
バケットやオブジェクトに対する匿名アクセス権限を与える場合のgrantee
AccessKeyIdやシグネチャを指定しないでも、全てのユーザがオブジェクトに
アクセスできるようになります。
|
AuthenticatedUsers
バケットやオブジェクトに対するアクセス権限を、IIJ GIOストレージ&アナリシスサービスの
アカウントを持っているユーザに対して与える場合のgrantee
これは、オブジェクトやバケットに対するアクセスについては、安全ではありませんが、
認証によりアクセスしたユーザは特定することが出来ます。
|
LogDelivery
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
グループgranteeのURIを返します
|
String |
getTypeIdentifier()
リクエストヘッダーでGrantを指定する時に使われる
このGrantの識別子を返します。
|
static GroupGrantee |
parseGroupGrantee(String groupUri)
グループgranteeのURIを指定して、 の
列挙型の値を返します。
有効でないグループgranteeのURIだった場合は
null が返ります |
void |
setIdentifier(String id)
SDK内部利用のみ
グループgranteeの識別子は変更することが出来ません
|
String |
toString() |
static GroupGrantee |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupGrantee[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupGrantee AllUsers
IIJ GIOストレージ&アナリシスサービスでは、このAllUsers
グループに
書き込み権限を与えないことを強く推奨します。
もし書き込み権限をあたえると、ユーザは課金対象領域に対するコントロールが
できなくなります。、
public static final GroupGrantee AuthenticatedUsers
@Deprecated public static final GroupGrantee LogDelivery
public static GroupGrantee[] values()
for (GroupGrantee c : GroupGrantee.values()) System.out.println(c);
public static GroupGrantee valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static GroupGrantee parseGroupGrantee(String groupUri)
null
が返りますgroupUri
- グループgranteeのURIの文字列表記null
public String getTypeIdentifier()
Grantee
getTypeIdentifier
in interface Grantee
public String getIdentifier()
getIdentifier
in interface Grantee
Grantee.setIdentifier(String)
public void setIdentifier(String id)
setIdentifier
in interface Grantee
id
- この Granteeの識別子Grantee.getIdentifier()
public String toString()
toString
in class Enum<GroupGrantee>
Copyright © 2018. All rights reserved.