public class UpdateSecretRequest extends AbstractModel
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 This field should be used and Base64-encoded if the content of the new credential is binary.
|
String |
getSecretName()
Get Name of a Secret whose content is to be updated.
|
String |
getSecretString()
Get This field should be used without being Base64-encoded if the content of the new credential is text.
|
String |
getVersionId()
Get ID of the Secret version whose content is to be updated.
|
void |
setSecretBinary(String SecretBinary)
Set This field should be used and Base64-encoded if the content of the new credential is binary.
|
void |
setSecretName(String SecretName)
Set Name of a Secret whose content is to be updated.
|
void |
setSecretString(String SecretString)
Set This field should be used without being Base64-encoded if the content of the new credential is text.
|
void |
setVersionId(String VersionId)
Set ID of the Secret version whose content is to be updated.
|
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, toJsonString
public UpdateSecretRequest()
public UpdateSecretRequest(UpdateSecretRequest source)
public String getSecretName()
public void setSecretName(String SecretName)
SecretName
- Name of a Secret whose content is to be updated.public String getVersionId()
public void setVersionId(String VersionId)
VersionId
- ID of the Secret version whose content is to be updated.public String getSecretBinary()
public void setSecretBinary(String SecretBinary)
SecretBinary
- This field should be used and Base64-encoded if the content of the new credential is binary.
Either `SecretBinary` or `SecretString` cannot be empty.public String getSecretString()
public void setSecretString(String SecretString)
SecretString
- This field should be used without being Base64-encoded if the content of the new credential is text. Either `SecretBinary` or `SecretString` cannot be empty.Copyright © 2023. All rights reserved.