public class UpdateSecretRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| UpdateSecretRequest() | 
| UpdateSecretRequest(UpdateSecretRequest 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getSecretBinary()Get 新的凭据内容为二进制的场景使用该字段,并使用base64进行编码。
SecretBinary 和 SecretString 只能一个不为空。 | 
| String | getSecretName()Get 指定需要更新凭据内容的名称。 | 
| String | getSecretString()Get 新的凭据内容为文本的场景使用该字段,不需要base64编码SecretBinary 和 SecretString 只能一个不为空。 | 
| String | getVersionId()Get 指定需要更新凭据内容的版本号。 | 
| void | setSecretBinary(String SecretBinary)Set 新的凭据内容为二进制的场景使用该字段,并使用base64进行编码。
SecretBinary 和 SecretString 只能一个不为空。 | 
| void | setSecretName(String SecretName)Set 指定需要更新凭据内容的名称。 | 
| void | setSecretString(String SecretString)Set 新的凭据内容为文本的场景使用该字段,不需要base64编码SecretBinary 和 SecretString 只能一个不为空。 | 
| void | setVersionId(String VersionId)Set 指定需要更新凭据内容的版本号。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic UpdateSecretRequest()
public UpdateSecretRequest(UpdateSecretRequest source)
public String getSecretName()
public void setSecretName(String SecretName)
SecretName - 指定需要更新凭据内容的名称。public String getVersionId()
public void setVersionId(String VersionId)
VersionId - 指定需要更新凭据内容的版本号。public String getSecretBinary()
public void setSecretBinary(String SecretBinary)
SecretBinary - 新的凭据内容为二进制的场景使用该字段,并使用base64进行编码。
SecretBinary 和 SecretString 只能一个不为空。public String getSecretString()
public void setSecretString(String SecretString)
SecretString - 新的凭据内容为文本的场景使用该字段,不需要base64编码SecretBinary 和 SecretString 只能一个不为空。Copyright © 2025. All rights reserved.