Class UpdateSecretRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ssm.v20190923.models.UpdateSecretRequest
-
public class UpdateSecretRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSecretBinary()Get 新的凭据内容为二进制的场景使用该字段,并使用base64进行编码。 SecretBinary 和 SecretString 只能一个不为空。StringgetSecretName()Get 指定需要更新凭据内容的名称。StringgetSecretString()Get 新的凭据内容为文本的场景使用该字段,不需要base64编码SecretBinary 和 SecretString 只能一个不为空。StringgetVersionId()Get 指定需要更新凭据内容的版本号。voidsetSecretBinary(String SecretBinary)Set 新的凭据内容为二进制的场景使用该字段,并使用base64进行编码。 SecretBinary 和 SecretString 只能一个不为空。voidsetSecretName(String SecretName)Set 指定需要更新凭据内容的名称。voidsetSecretString(String SecretString)Set 新的凭据内容为文本的场景使用该字段,不需要base64编码SecretBinary 和 SecretString 只能一个不为空。voidsetVersionId(String VersionId)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
-
UpdateSecretRequest
public UpdateSecretRequest()
-
UpdateSecretRequest
public 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.
-
-
Method Detail
-
getSecretName
public String getSecretName()
Get 指定需要更新凭据内容的名称。- Returns:
- SecretName 指定需要更新凭据内容的名称。
-
setSecretName
public void setSecretName(String SecretName)
Set 指定需要更新凭据内容的名称。- Parameters:
SecretName- 指定需要更新凭据内容的名称。
-
getVersionId
public String getVersionId()
Get 指定需要更新凭据内容的版本号。- Returns:
- VersionId 指定需要更新凭据内容的版本号。
-
setVersionId
public void setVersionId(String VersionId)
Set 指定需要更新凭据内容的版本号。- Parameters:
VersionId- 指定需要更新凭据内容的版本号。
-
getSecretBinary
public String getSecretBinary()
Get 新的凭据内容为二进制的场景使用该字段,并使用base64进行编码。 SecretBinary 和 SecretString 只能一个不为空。- Returns:
- SecretBinary 新的凭据内容为二进制的场景使用该字段,并使用base64进行编码。 SecretBinary 和 SecretString 只能一个不为空。
-
setSecretBinary
public void setSecretBinary(String SecretBinary)
Set 新的凭据内容为二进制的场景使用该字段,并使用base64进行编码。 SecretBinary 和 SecretString 只能一个不为空。- Parameters:
SecretBinary- 新的凭据内容为二进制的场景使用该字段,并使用base64进行编码。 SecretBinary 和 SecretString 只能一个不为空。
-
getSecretString
public String getSecretString()
Get 新的凭据内容为文本的场景使用该字段,不需要base64编码SecretBinary 和 SecretString 只能一个不为空。- Returns:
- SecretString 新的凭据内容为文本的场景使用该字段,不需要base64编码SecretBinary 和 SecretString 只能一个不为空。
-
setSecretString
public void setSecretString(String SecretString)
Set 新的凭据内容为文本的场景使用该字段,不需要base64编码SecretBinary 和 SecretString 只能一个不为空。- Parameters:
SecretString- 新的凭据内容为文本的场景使用该字段,不需要base64编码SecretBinary 和 SecretString 只能一个不为空。
-
-