Class PutSecretValueRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ssm.v20190923.models.PutSecretValueRequest
-
public class PutSecretValueRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description PutSecretValueRequest()PutSecretValueRequest(PutSecretValueRequest 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 指定新增加的版本号,最长64 字节,使用字母、数字或者 - _ .voidsetSecretBinary(String SecretBinary)Set 二进制凭据信息,使用base64编码。 SecretBinary 和 SecretString 必须且只能设置一个。voidsetSecretName(String SecretName)Set 指定需要增加版本的凭据名称。voidsetSecretString(String SecretString)Set 文本类型凭据信息明文(不需要进行base64编码),SecretBinary 和 SecretString 必须且只能设置一个。voidsetVersionId(String VersionId)Set 指定新增加的版本号,最长64 字节,使用字母、数字或者 - _ .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
-
PutSecretValueRequest
public PutSecretValueRequest()
-
PutSecretValueRequest
public PutSecretValueRequest(PutSecretValueRequest 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 指定新增加的版本号,最长64 字节,使用字母、数字或者 - _ . 的组合并且以字母或数字开头。- Returns:
- VersionId 指定新增加的版本号,最长64 字节,使用字母、数字或者 - _ . 的组合并且以字母或数字开头。
-
setVersionId
public void setVersionId(String VersionId)
Set 指定新增加的版本号,最长64 字节,使用字母、数字或者 - _ . 的组合并且以字母或数字开头。- Parameters:
VersionId- 指定新增加的版本号,最长64 字节,使用字母、数字或者 - _ . 的组合并且以字母或数字开头。
-
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 必须且只能设置一个。
-
-