public static enum S3ADelegationTokens.TokenIssuingPolicy extends Enum<S3ADelegationTokens.TokenIssuingPolicy>
RequestNewToken policy does not guarantee that a tokens
can be created, only that an attempt will be made to request one.
It may fail (wrong credential types, wrong role, etc).| Enum Constant and Description |
|---|
NoTokensAvailable
No tokens will be issued.
|
RequestNewToken
An attempt will be made to request a new DT.
|
ReturnExistingToken
The existing token will be returned.
|
| Modifier and Type | Method and Description |
|---|---|
static S3ADelegationTokens.TokenIssuingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static S3ADelegationTokens.TokenIssuingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final S3ADelegationTokens.TokenIssuingPolicy ReturnExistingToken
public static final S3ADelegationTokens.TokenIssuingPolicy NoTokensAvailable
public static final S3ADelegationTokens.TokenIssuingPolicy RequestNewToken
public static S3ADelegationTokens.TokenIssuingPolicy[] values()
for (S3ADelegationTokens.TokenIssuingPolicy c : S3ADelegationTokens.TokenIssuingPolicy.values()) System.out.println(c);
public static S3ADelegationTokens.TokenIssuingPolicy 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 nullCopyright © 2008–2022 Apache Software Foundation. All rights reserved.