public static final class DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder autoSnapshotPolicyId(String autoSnapshotPolicyId)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder autoSnapshotPolicyName(String autoSnapshotPolicyName)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder copiedSnapshotsRetentionDays(Integer copiedSnapshotsRetentionDays)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder copyEncryptionConfiguration(DescribeAutoSnapshotPolicyExResponseBody.CopyEncryptionConfiguration copyEncryptionConfiguration)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder creationTime(String creationTime)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder diskNums(Integer diskNums)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder enableCrossRegionCopy(Boolean enableCrossRegionCopy)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder regionId(String regionId)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder repeatWeekdays(String repeatWeekdays)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder resourceGroupId(String resourceGroupId)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder retentionDays(Integer retentionDays)
* \-1: Automatic snapshots are retained until they are deleted. * 1 to 65536: Auto snapshots are retained for the specified number of days. After the retention period of auto snapshots expires, the auto snapshots are automatically deleted.
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder status(String status)
* Normal: The automatic snapshot policy is normal. * Expire: The automatic snapshot policy cannot be used because your account has overdue payments.
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder tags(DescribeAutoSnapshotPolicyExResponseBody.Tags tags)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder targetCopyRegions(String targetCopyRegions)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder timePoints(String timePoints)
The time is displayed in UTC+8. Unit: hours. Valid values: 0 to 23, which correspond to the 24 points in time on the hour from 00:00:00 to 23:00:00. For example, 1 indicates 01:00:00. Multiple points in time can be specified. The parameter value is a JSON array that contains up to 24 points in time separated by commas (,). Example: `["0", "1", ... "23"]`.
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder type(String type)
* Custom: user-defined snapshot policy. * System: system-defined snapshot policy.
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy.Builder volumeNums(Integer volumeNums)
public DescribeAutoSnapshotPolicyExResponseBody.AutoSnapshotPolicy build()
Copyright © 2024. All rights reserved.