Class Credentials
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.gse.v20191112.models.Credentials
-
public class Credentials extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description Credentials()Credentials(Credentials source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSecret()Get ssh私钥StringgetUserName()Get 用户名voidsetSecret(String Secret)Set ssh私钥voidsetUserName(String UserName)Set 用户名voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Credentials
public Credentials()
-
Credentials
public Credentials(Credentials source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getSecret
public String getSecret()
Get ssh私钥- Returns:
- Secret ssh私钥
-
setSecret
public void setSecret(String Secret)
Set ssh私钥- Parameters:
Secret- ssh私钥
-
getUserName
public String getUserName()
Get 用户名- Returns:
- UserName 用户名
-
setUserName
public void setUserName(String UserName)
Set 用户名- Parameters:
UserName- 用户名
-
-