public class GetSecretValueRequest extends AbstractModel
| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getSecretName()
Get Name of a Secret.
|
String |
getVersionId()
Get Specifies the version number of the corresponding credential.
|
void |
setSecretName(String SecretName)
Set Name of a Secret.
|
void |
setVersionId(String VersionId)
Set Specifies the version number of the corresponding credential.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic GetSecretValueRequest()
public GetSecretValueRequest(GetSecretValueRequest source)
public String getSecretName()
public void setSecretName(String SecretName)
SecretName - Name of a Secret.public String getVersionId()
public void setVersionId(String VersionId)
VersionId - Specifies the version number of the corresponding credential.
For Tencent Cloud service credentials such as MySQL credentials, this API is used to get the plaintext information of a previously rotated credential by specifying the credential name and historical version number. If you want to get the plaintext of the credential version currently in use, you need to specify the version number as `SSM_Current`.Copyright © 2022. All rights reserved.