public static final class DescribeSecretResponseBody.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeSecretResponseBody.Builder |
arn(String arn)
The Alibaba Cloud Resource Name (ARN) of the secret.
|
DescribeSecretResponseBody.Builder |
automaticRotation(String automaticRotation)
Indicates whether automatic rotation is enabled.
|
DescribeSecretResponseBody |
build() |
DescribeSecretResponseBody.Builder |
createTime(String createTime)
The time when the secret was created.
|
DescribeSecretResponseBody.Builder |
description(String description)
The description of the secret.
|
DescribeSecretResponseBody.Builder |
DKMSInstanceId(String DKMSInstanceId)
The ID of the dedicated KMS instance.
|
DescribeSecretResponseBody.Builder |
encryptionKeyId(String encryptionKeyId)
The ID of the customer master key (CMK) that is used to encrypt the secret value.
|
DescribeSecretResponseBody.Builder |
extendedConfig(String extendedConfig)
The extended configuration of the secret.
|
DescribeSecretResponseBody.Builder |
lastRotationDate(String lastRotationDate)
The time when the last rotation was performed.
|
DescribeSecretResponseBody.Builder |
nextRotationDate(String nextRotationDate)
The time when the next rotation will be performed.
|
DescribeSecretResponseBody.Builder |
plannedDeleteTime(String plannedDeleteTime)
The time when the secret is scheduled to be deleted.
|
DescribeSecretResponseBody.Builder |
requestId(String requestId)
The ID of the request, which is used to locate and troubleshoot issues.
|
DescribeSecretResponseBody.Builder |
rotationInterval(String rotationInterval)
The interval for automatic rotation.
|
DescribeSecretResponseBody.Builder |
secretName(String secretName)
The name of the secret.
|
DescribeSecretResponseBody.Builder |
secretType(String secretType)
The type of the secret.
|
DescribeSecretResponseBody.Builder |
tags(DescribeSecretResponseBody.Tags tags)
The resource tags of the secret.
|
DescribeSecretResponseBody.Builder |
updateTime(String updateTime)
The time when the secret was updated.
|
public DescribeSecretResponseBody.Builder arn(String arn)
public DescribeSecretResponseBody.Builder automaticRotation(String automaticRotation)
* Enabled: indicates that automatic rotation is enabled. * Disabled: indicates that automatic rotation is disabled. * Invalid: indicates that the status of automatic rotation is abnormal. In this case, Secrets Manager cannot automatically rotate the secret. > This parameter is returned only for a managed ApsaraDB RDS secret, a managed RAM secret, or a managed ECS secret.
public DescribeSecretResponseBody.Builder createTime(String createTime)
public DescribeSecretResponseBody.Builder DKMSInstanceId(String DKMSInstanceId)
public DescribeSecretResponseBody.Builder description(String description)
public DescribeSecretResponseBody.Builder encryptionKeyId(String encryptionKeyId)
public DescribeSecretResponseBody.Builder extendedConfig(String extendedConfig)
> This parameter is returned only for a managed ApsaraDB RDS secret, a managed Resource Access Management (RAM) secret, or a managed Elastic Compute Service (ECS) secret.
public DescribeSecretResponseBody.Builder lastRotationDate(String lastRotationDate)
> This parameter is returned if the secret was rotated.
public DescribeSecretResponseBody.Builder nextRotationDate(String nextRotationDate)
> This parameter is returned when automatic rotation is enabled.
public DescribeSecretResponseBody.Builder plannedDeleteTime(String plannedDeleteTime)
public DescribeSecretResponseBody.Builder requestId(String requestId)
public DescribeSecretResponseBody.Builder rotationInterval(String rotationInterval)
The value is in the `integer[unit]` format. `integer` indicates the length of time. `unit`: indicates the time unit. The value of `unit` is fixed as s. For example, if the value is 604800s, automatic rotation is performed at a 7-day interval. > This parameter is returned when automatic rotation is enabled.
public DescribeSecretResponseBody.Builder secretName(String secretName)
public DescribeSecretResponseBody.Builder secretType(String secretType)
* Generic: indicates a generic secret. * Rds: indicates a managed ApsaraDB RDS secret. * RAMCredentials: indicates a managed RAM secret. * ECS: indicates a managed ECS secret.
public DescribeSecretResponseBody.Builder tags(DescribeSecretResponseBody.Tags tags)
This parameter is not returned if you set the FetchTags parameter to false or you do not specify the FetchTags parameter.
public DescribeSecretResponseBody.Builder updateTime(String updateTime)
public DescribeSecretResponseBody build()
Copyright © 2023. All rights reserved.