public static final class DescribeKeyResponseBody.KeyMetadata.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
public DescribeKeyResponseBody.KeyMetadata.Builder arn(String arn)
public DescribeKeyResponseBody.KeyMetadata.Builder automaticRotation(String automaticRotation)
* Enabled * Disabled * Suspended For more information, see [Automatic key rotation](~~134270~~). > Only symmetric CMKs support automatic key rotation.
public DescribeKeyResponseBody.KeyMetadata.Builder creationDate(String creationDate)
public DescribeKeyResponseBody.KeyMetadata.Builder creator(String creator)
public DescribeKeyResponseBody.KeyMetadata.Builder DKMSInstanceId(String DKMSInstanceId)
public DescribeKeyResponseBody.KeyMetadata.Builder deleteDate(String deleteDate)
For more information, see [ScheduleKeyDeletion](~~44196~~). > This parameter is returned only when the value of the KeyState parameter is PendingDeletion.
public DescribeKeyResponseBody.KeyMetadata.Builder deletionProtection(String deletionProtection)
* Enabled * Disabled
public DescribeKeyResponseBody.KeyMetadata.Builder deletionProtectionDescription(String deletionProtectionDescription)
public DescribeKeyResponseBody.KeyMetadata.Builder description(String description)
public DescribeKeyResponseBody.KeyMetadata.Builder keyId(String keyId)
public DescribeKeyResponseBody.KeyMetadata.Builder keySpec(String keySpec)
public DescribeKeyResponseBody.KeyMetadata.Builder keyState(String keyState)
For more information, see [Impact of CMK status on API operations](~~44211~~).
public DescribeKeyResponseBody.KeyMetadata.Builder keyUsage(String keyUsage)
public DescribeKeyResponseBody.KeyMetadata.Builder lastRotationDate(String lastRotationDate)
public DescribeKeyResponseBody.KeyMetadata.Builder materialExpireTime(String materialExpireTime)
public DescribeKeyResponseBody.KeyMetadata.Builder nextRotationDate(String nextRotationDate)
> This parameter is returned only when the value of the AutomaticRotation parameter is Enabled or Suspended.
public DescribeKeyResponseBody.KeyMetadata.Builder origin(String origin)
public DescribeKeyResponseBody.KeyMetadata.Builder primaryKeyVersion(String primaryKeyVersion)
public DescribeKeyResponseBody.KeyMetadata.Builder protectionLevel(String protectionLevel)
public DescribeKeyResponseBody.KeyMetadata.Builder rotationInterval(String rotationInterval)
Unit: seconds. For example, if the value is 604800s, automatic key rotation is performed at a 7-day interval. > This parameter is returned only when the value of the AutomaticRotation parameter is Enabled or Suspended.
public DescribeKeyResponseBody.KeyMetadata build()
Copyright © 2023. All rights reserved.