Class GetSecretValueRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ssm.v20190923.models.GetSecretValueRequest
-
public class GetSecretValueRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description GetSecretValueRequest()GetSecretValueRequest(GetSecretValueRequest 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 StringgetSecretName()Get 指定凭据的名称。StringgetVersionId()Get 指定对应凭据的版本号。 对于云产品凭据如Mysql凭据,通过指定凭据名称和历史版本号来获取历史轮转凭据的明文信息,如果要获取当前正在使用的凭据版本的明文,需要将版本号指定为:SSM_Current。voidsetSecretName(String SecretName)Set 指定凭据的名称。voidsetVersionId(String VersionId)Set 指定对应凭据的版本号。 对于云产品凭据如Mysql凭据,通过指定凭据名称和历史版本号来获取历史轮转凭据的明文信息,如果要获取当前正在使用的凭据版本的明文,需要将版本号指定为:SSM_Current。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
-
GetSecretValueRequest
public GetSecretValueRequest()
-
GetSecretValueRequest
public GetSecretValueRequest(GetSecretValueRequest 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
-
getSecretName
public String getSecretName()
Get 指定凭据的名称。- Returns:
- SecretName 指定凭据的名称。
-
setSecretName
public void setSecretName(String SecretName)
Set 指定凭据的名称。- Parameters:
SecretName- 指定凭据的名称。
-
getVersionId
public String getVersionId()
Get 指定对应凭据的版本号。 对于云产品凭据如Mysql凭据,通过指定凭据名称和历史版本号来获取历史轮转凭据的明文信息,如果要获取当前正在使用的凭据版本的明文,需要将版本号指定为:SSM_Current。- Returns:
- VersionId 指定对应凭据的版本号。 对于云产品凭据如Mysql凭据,通过指定凭据名称和历史版本号来获取历史轮转凭据的明文信息,如果要获取当前正在使用的凭据版本的明文,需要将版本号指定为:SSM_Current。
-
setVersionId
public void setVersionId(String VersionId)
Set 指定对应凭据的版本号。 对于云产品凭据如Mysql凭据,通过指定凭据名称和历史版本号来获取历史轮转凭据的明文信息,如果要获取当前正在使用的凭据版本的明文,需要将版本号指定为:SSM_Current。- Parameters:
VersionId- 指定对应凭据的版本号。 对于云产品凭据如Mysql凭据,通过指定凭据名称和历史版本号来获取历史轮转凭据的明文信息,如果要获取当前正在使用的凭据版本的明文,需要将版本号指定为:SSM_Current。
-
-