public class DescribeSecretResponse extends AbstractModel
| Constructor and Description | 
|---|
DescribeSecretResponse()  | 
DescribeSecretResponse(DescribeSecretResponse 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[] | 
getAssociatedInstanceIDs()
Get ID of the CVM instance associated with the SSH key. 
 | 
Long | 
getCreateTime()
Get Creation time. 
 | 
Long | 
getCreateUin()
Get Creator UIN. 
 | 
Long | 
getDeleteTime()
Get Deletion time, formatted as a Unix timestamp. 
 | 
String | 
getDescription()
Get Description of the Secret. 
 | 
String | 
getKmsKeyId()
Get ID of the KMS CMK used for encryption. 
 | 
String | 
getProductName()
Get Tencent Cloud service name. 
 | 
Long | 
getProjectID()
Get Project ID. 
 | 
String | 
getRequestId()
Get The unique request ID, which is returned for each request. 
 | 
String | 
getResourceID()
Get Tencent Cloud service instance ID. 
 | 
String | 
getResourceName()
Get Secret name. 
 | 
Long | 
getRotationFrequency()
Get Rotation frequency in days by default. 
 | 
Boolean | 
getRotationStatus()
Get Whether to enable rotation. 
 | 
String | 
getSecretName()
Get Name of the Secret. 
 | 
Long | 
getSecretType()
Get `0`: user-defined secret; `1`: database credential; `2`: SSH key secret. 
 | 
String | 
getStatus()
Get Credential status: Enabled, Disabled, PendingDelete, Creating, Failed. 
 | 
void | 
setAssociatedInstanceIDs(String[] AssociatedInstanceIDs)
Set ID of the CVM instance associated with the SSH key. 
 | 
void | 
setCreateTime(Long CreateTime)
Set Creation time. 
 | 
void | 
setCreateUin(Long CreateUin)
Set Creator UIN. 
 | 
void | 
setDeleteTime(Long DeleteTime)
Set Deletion time, formatted as a Unix timestamp. 
 | 
void | 
setDescription(String Description)
Set Description of the Secret. 
 | 
void | 
setKmsKeyId(String KmsKeyId)
Set ID of the KMS CMK used for encryption. 
 | 
void | 
setProductName(String ProductName)
Set Tencent Cloud service name. 
 | 
void | 
setProjectID(Long ProjectID)
Set Project ID. 
 | 
void | 
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request. 
 | 
void | 
setResourceID(String ResourceID)
Set Tencent Cloud service instance ID. 
 | 
void | 
setResourceName(String ResourceName)
Set Secret name. 
 | 
void | 
setRotationFrequency(Long RotationFrequency)
Set Rotation frequency in days by default. 
 | 
void | 
setRotationStatus(Boolean RotationStatus)
Set Whether to enable rotation. 
 | 
void | 
setSecretName(String SecretName)
Set Name of the Secret. 
 | 
void | 
setSecretType(Long SecretType)
Set `0`: user-defined secret; `1`: database credential; `2`: SSH key secret. 
 | 
void | 
setStatus(String Status)
Set Credential status: Enabled, Disabled, PendingDelete, Creating, Failed. 
 | 
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, toJsonStringpublic DescribeSecretResponse()
public DescribeSecretResponse(DescribeSecretResponse source)
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 - ID of the KMS CMK used for encryption.public Long getCreateUin()
public void setCreateUin(Long CreateUin)
CreateUin - Creator UIN.public String getStatus()
public void setStatus(String Status)
Status - Credential status: Enabled, Disabled, PendingDelete, Creating, Failed.public Long getDeleteTime()
public void setDeleteTime(Long DeleteTime)
DeleteTime - Deletion time, formatted as a Unix timestamp. For a Secret that is not in `PendingDelete` status, this value is 0.public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime - Creation time.public Long getSecretType()
public void setSecretType(Long SecretType)
SecretType - `0`: user-defined secret; `1`: database credential; `2`: SSH key secret.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getProductName()
public void setProductName(String ProductName)
ProductName - Tencent Cloud service name.
Note: this field may return null, indicating that no valid values can be obtained.public String getResourceID()
public void setResourceID(String ResourceID)
ResourceID - Tencent Cloud service instance ID.
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getRotationStatus()
public void setRotationStatus(Boolean RotationStatus)
RotationStatus - Whether to enable rotation. True: yes; False: no.
Note: this field may return null, indicating that no valid values can be obtained.public Long getRotationFrequency()
public void setRotationFrequency(Long RotationFrequency)
RotationFrequency - Rotation frequency in days by default.
Note: this field may return null, indicating that no valid values can be obtained.public String getResourceName()
public void setResourceName(String ResourceName)
ResourceName - Secret name. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
Note: this field may return null, indicating that no valid values can be obtained.public Long getProjectID()
public void setProjectID(Long ProjectID)
ProjectID - Project ID. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
Note: this field may return null, indicating that no valid values can be obtained.public String[] getAssociatedInstanceIDs()
public void setAssociatedInstanceIDs(String[] AssociatedInstanceIDs)
AssociatedInstanceIDs - ID of the CVM instance associated with the SSH key. ID. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
Note: this field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2022. All rights reserved.