public enum AwsCredentialsProviderType extends Enum<AwsCredentialsProviderType>
| Enum Constant and Description |
|---|
ANONYMOUS |
CONTAINER |
DEFAULT |
ENV_VARIABLE |
INSTANCE_PROFILE |
PROCESS |
PROFILE |
STATIC |
SYSTEM_PROPERTY |
| Modifier and Type | Method and Description |
|---|---|
abstract software.amazon.awssdk.auth.credentials.AwsCredentialsProvider |
create(AwsCredentialsProviderConfig config) |
static AwsCredentialsProviderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AwsCredentialsProviderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AwsCredentialsProviderType DEFAULT
public static final AwsCredentialsProviderType STATIC
public static final AwsCredentialsProviderType SYSTEM_PROPERTY
public static final AwsCredentialsProviderType ENV_VARIABLE
public static final AwsCredentialsProviderType PROFILE
public static final AwsCredentialsProviderType CONTAINER
public static final AwsCredentialsProviderType INSTANCE_PROFILE
public static final AwsCredentialsProviderType PROCESS
public static final AwsCredentialsProviderType ANONYMOUS
public static AwsCredentialsProviderType[] values()
for (AwsCredentialsProviderType c : AwsCredentialsProviderType.values()) System.out.println(c);
public static AwsCredentialsProviderType 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 abstract software.amazon.awssdk.auth.credentials.AwsCredentialsProvider create(AwsCredentialsProviderConfig config)
Copyright © 2020 JBoss by Red Hat. All rights reserved.