public enum AwsCredentialType extends java.lang.Enum<AwsCredentialType> implements com.google.protobuf.ProtocolMessageEnum
StarRocks supports four authenticate methods for aws Default: using sdk default way Simple: user must provide ak/sk pair InstanceProfile: a privileged role should be attached to ec2 instance AssumeRole: one role attached to the ec2 instance should be authorized to assume other privileged rolesProtobuf enum
staros.AwsCredentialType| Enum Constant and Description |
|---|
ASSUME_ROLE
ASSUME_ROLE = 3; |
DEFAULT
DEFAULT = 0; |
INSTANCE_PROFILE
INSTANCE_PROFILE = 2; |
SIMPLE
SIMPLE = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ASSUME_ROLE_VALUE
ASSUME_ROLE = 3; |
static int |
DEFAULT_VALUE
DEFAULT = 0; |
static int |
INSTANCE_PROFILE_VALUE
INSTANCE_PROFILE = 2; |
static int |
SIMPLE_VALUE
SIMPLE = 1; |
| Modifier and Type | Method and Description |
|---|---|
static AwsCredentialType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<AwsCredentialType> |
internalGetValueMap() |
static AwsCredentialType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AwsCredentialType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AwsCredentialType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AwsCredentialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AwsCredentialType DEFAULT
DEFAULT = 0;public static final AwsCredentialType SIMPLE
SIMPLE = 1;public static final AwsCredentialType INSTANCE_PROFILE
INSTANCE_PROFILE = 2;public static final AwsCredentialType ASSUME_ROLE
ASSUME_ROLE = 3;public static final AwsCredentialType UNRECOGNIZED
public static final int DEFAULT_VALUE
DEFAULT = 0;public static final int SIMPLE_VALUE
SIMPLE = 1;public static final int INSTANCE_PROFILE_VALUE
INSTANCE_PROFILE = 2;public static final int ASSUME_ROLE_VALUE
ASSUME_ROLE = 3;public static AwsCredentialType[] values()
for (AwsCredentialType c : AwsCredentialType.values()) System.out.println(c);
public static AwsCredentialType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static AwsCredentialType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AwsCredentialType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AwsCredentialType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AwsCredentialType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All rights reserved.