public class SecretMetadata extends AbstractModel
Constructor and Description |
---|
SecretMetadata() |
Modifier and Type | Method and Description |
---|---|
Long |
getCreateTime()
Get Secret creation time, formatted as a Unix timestamp.
|
Long |
getCreateUin()
Get Creator UIN.
|
Long |
getDeleteTime()
Get Secret deletion time, formatted as a Unix timestamp.
|
String |
getDescription()
Get Description of the Secret.
|
String |
getKmsKeyId()
Get KMS Key ID used for Secret encryption.
|
String |
getKmsKeyType()
Get Type of KMS CMK used for Secret encryption.
|
String |
getSecretName()
Get Name of the Secret.
|
String |
getStatus()
Get Secret status, which can be `Enabled`, `Disabled`, or `PendingDelete`.
|
void |
setCreateTime(Long CreateTime)
Set Secret creation time, formatted as a Unix timestamp.
|
void |
setCreateUin(Long CreateUin)
Set Creator UIN.
|
void |
setDeleteTime(Long DeleteTime)
Set Secret deletion time, formatted as a Unix timestamp.
|
void |
setDescription(String Description)
Set Description of the Secret.
|
void |
setKmsKeyId(String KmsKeyId)
Set KMS Key ID used for Secret encryption.
|
void |
setKmsKeyType(String KmsKeyType)
Set Type of KMS CMK used for Secret encryption.
|
void |
setSecretName(String SecretName)
Set Name of the Secret.
|
void |
setStatus(String Status)
Set Secret status, which can be `Enabled`, `Disabled`, or `PendingDelete`.
|
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 String getSecretName()
public void setSecretName(String SecretName)
SecretName
- Name of the Secret.public String getDescription()
public void setDescription(String Description)
Description
- Description of the Secret.public String getKmsKeyId()
public void setKmsKeyId(String KmsKeyId)
KmsKeyId
- KMS Key ID used for Secret encryption.public Long getCreateUin()
public void setCreateUin(Long CreateUin)
CreateUin
- Creator UIN.public String getStatus()
public void setStatus(String Status)
Status
- Secret status, which can be `Enabled`, `Disabled`, or `PendingDelete`.public Long getDeleteTime()
public void setDeleteTime(Long DeleteTime)
DeleteTime
- Secret deletion time, formatted as a Unix timestamp. This parameter is only applicable for Secrets in `PendingDelete` status.public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- Secret creation time, formatted as a Unix timestamp.public String getKmsKeyType()
public void setKmsKeyType(String KmsKeyType)
KmsKeyType
- Type of KMS CMK used for Secret encryption. `DEFAULT`: default key created by SecretsManager; `CUSTOMER`: user-specified key.Copyright © 2021. All rights reserved.