public class Profile extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT |
static boolean |
ENABLE_SSL |
| Modifier and Type | Method and Description |
|---|---|
static Profile |
getAccessKeyProfile(String endPoint,
String regionId,
String accessKey,
String accessSecret) |
static Profile |
getAccessKeyProfile(String endPoint,
String regionId,
String accessKey,
String accessSecret,
String stsToken) |
static Profile |
getAppKeyProfile(String endPoint,
String appKey,
String appSecret) |
static Profile |
getDeviceProfile(String endPoint,
String productKey,
String deviceName,
String deviceSecret,
String clientId) |
String |
getHost() |
int |
getPort() |
public static final boolean ENABLE_SSL
public static final int DEFAULT_PORT
public String getHost()
public int getPort()
public static Profile getDeviceProfile(String endPoint, String productKey, String deviceName, String deviceSecret, String clientId)
public static Profile getAppKeyProfile(String endPoint, String appKey, String appSecret)
public static Profile getAccessKeyProfile(String endPoint, String regionId, String accessKey, String accessSecret)
Copyright © 2019. All rights reserved.