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 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对所关联的CVM实例ID。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getCreateTime()
Get 创建日期。
|
Long |
getCreateUin()
Get 创建者UIN。
|
Long |
getDeleteTime()
Get 删除日期,uinx 时间戳,非计划删除状态的凭据为0。
|
String |
getDescription()
Get 凭据描述信息。
|
String |
getKmsKeyId()
Get 用于加密的KMS CMK ID。
|
String |
getProductName()
Get 云产品名称。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getProjectID()
Get 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对所属的项目ID。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
String |
getResourceID()
Get 云产品实例ID。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getResourceName()
Get 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对凭据的名称。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getRotationFrequency()
Get 轮转周期,默认以天为单位。
注意:此字段可能返回 null,表示取不到有效值。
|
Boolean |
getRotationStatus()
Get 是否开启轮转:True -- 开启轮转;False -- 禁止轮转。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSecretName()
Get 凭据名称。
|
Long |
getSecretType()
Get 0 -- 用户自定义凭据类型;1 -- 数据库凭据类型;2 -- SSH密钥对凭据类型。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getStatus()
Get 凭据状态:Enabled、Disabled、PendingDelete, Creating, Failed。
|
void |
setAssociatedInstanceIDs(String[] AssociatedInstanceIDs)
Set 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对所关联的CVM实例ID。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCreateTime(Long CreateTime)
Set 创建日期。
|
void |
setCreateUin(Long CreateUin)
Set 创建者UIN。
|
void |
setDeleteTime(Long DeleteTime)
Set 删除日期,uinx 时间戳,非计划删除状态的凭据为0。
|
void |
setDescription(String Description)
Set 凭据描述信息。
|
void |
setKmsKeyId(String KmsKeyId)
Set 用于加密的KMS CMK ID。
|
void |
setProductName(String ProductName)
Set 云产品名称。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setProjectID(Long ProjectID)
Set 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对所属的项目ID。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
void |
setResourceID(String ResourceID)
Set 云产品实例ID。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setResourceName(String ResourceName)
Set 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对凭据的名称。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRotationFrequency(Long RotationFrequency)
Set 轮转周期,默认以天为单位。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRotationStatus(Boolean RotationStatus)
Set 是否开启轮转:True -- 开启轮转;False -- 禁止轮转。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSecretName(String SecretName)
Set 凭据名称。
|
void |
setSecretType(Long SecretType)
Set 0 -- 用户自定义凭据类型;1 -- 数据库凭据类型;2 -- SSH密钥对凭据类型。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setStatus(String Status)
Set 凭据状态: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, toJsonString
public DescribeSecretResponse()
public DescribeSecretResponse(DescribeSecretResponse source)
public String getSecretName()
public void setSecretName(String SecretName)
SecretName
- 凭据名称。public String getDescription()
public void setDescription(String Description)
Description
- 凭据描述信息。public String getKmsKeyId()
public void setKmsKeyId(String KmsKeyId)
KmsKeyId
- 用于加密的KMS CMK ID。public Long getCreateUin()
public void setCreateUin(Long CreateUin)
CreateUin
- 创建者UIN。public String getStatus()
public void setStatus(String Status)
Status
- 凭据状态:Enabled、Disabled、PendingDelete, Creating, Failed。public Long getDeleteTime()
public void setDeleteTime(Long DeleteTime)
DeleteTime
- 删除日期,uinx 时间戳,非计划删除状态的凭据为0。public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- 创建日期。public Long getSecretType()
public void setSecretType(Long SecretType)
SecretType
- 0 -- 用户自定义凭据类型;1 -- 数据库凭据类型;2 -- SSH密钥对凭据类型。
注意:此字段可能返回 null,表示取不到有效值。public String getProductName()
public void setProductName(String ProductName)
ProductName
- 云产品名称。
注意:此字段可能返回 null,表示取不到有效值。public String getResourceID()
public void setResourceID(String ResourceID)
ResourceID
- 云产品实例ID。
注意:此字段可能返回 null,表示取不到有效值。public Boolean getRotationStatus()
public void setRotationStatus(Boolean RotationStatus)
RotationStatus
- 是否开启轮转:True -- 开启轮转;False -- 禁止轮转。
注意:此字段可能返回 null,表示取不到有效值。public Long getRotationFrequency()
public void setRotationFrequency(Long RotationFrequency)
RotationFrequency
- 轮转周期,默认以天为单位。
注意:此字段可能返回 null,表示取不到有效值。public String getResourceName()
public void setResourceName(String ResourceName)
ResourceName
- 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对凭据的名称。
注意:此字段可能返回 null,表示取不到有效值。public Long getProjectID()
public void setProjectID(Long ProjectID)
ProjectID
- 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对所属的项目ID。
注意:此字段可能返回 null,表示取不到有效值。public String[] getAssociatedInstanceIDs()
public void setAssociatedInstanceIDs(String[] AssociatedInstanceIDs)
AssociatedInstanceIDs
- 当凭据类型为SSH密钥对凭据时,此字段有效,用于表示SSH密钥对所关联的CVM实例ID。
注意:此字段可能返回 null,表示取不到有效值。public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。Copyright © 2021. All rights reserved.