public static enum SinkConfig.AuthMode extends Enum<SinkConfig.AuthMode>
| 枚举常量和说明 |
|---|
AK
AK mode: you should input accessId and accessKey
|
STS
Service will get a temporary key to visit other services.
|
public static final SinkConfig.AuthMode AK
public static final SinkConfig.AuthMode STS
public static SinkConfig.AuthMode[] values()
for (SinkConfig.AuthMode c : SinkConfig.AuthMode.values()) System.out.println(c);
public static SinkConfig.AuthMode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2021 Alibaba Cloud Computing. All rights reserved.