Class Authentication
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.batch.v20170312.models.Authentication
-
public class Authentication extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description Authentication()Authentication(Authentication 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 StringgetScene()Get 授权场景,例如COSStringgetSecretId()Get SecretIdStringgetSecretKey()Get SecretKeyvoidsetScene(String Scene)Set 授权场景,例如COSvoidsetSecretId(String SecretId)Set SecretIdvoidsetSecretKey(String SecretKey)Set SecretKeyvoidtoMap(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
-
Authentication
public Authentication()
-
Authentication
public Authentication(Authentication 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
-
getScene
public String getScene()
Get 授权场景,例如COS- Returns:
- Scene 授权场景,例如COS
-
setScene
public void setScene(String Scene)
Set 授权场景,例如COS- Parameters:
Scene- 授权场景,例如COS
-
getSecretId
public String getSecretId()
Get SecretId- Returns:
- SecretId SecretId
-
setSecretId
public void setSecretId(String SecretId)
Set SecretId- Parameters:
SecretId- SecretId
-
getSecretKey
public String getSecretKey()
Get SecretKey- Returns:
- SecretKey SecretKey
-
setSecretKey
public void setSecretKey(String SecretKey)
Set SecretKey- Parameters:
SecretKey- SecretKey
-
-