public static final class ModifyAutoSnapshotPolicyExRequest.Builder extends Object
public ModifyAutoSnapshotPolicyExRequest.Builder sourceRegionId(String sourceRegionId)
public ModifyAutoSnapshotPolicyExRequest.Builder copiedSnapshotsRetentionDays(Integer copiedSnapshotsRetentionDays)
public ModifyAutoSnapshotPolicyExRequest.Builder copyEncryptionConfiguration(ModifyAutoSnapshotPolicyExRequest.CopyEncryptionConfiguration copyEncryptionConfiguration)
public ModifyAutoSnapshotPolicyExRequest.Builder enableCrossRegionCopy(Boolean enableCrossRegionCopy)
public ModifyAutoSnapshotPolicyExRequest.Builder ownerId(Long ownerId)
public ModifyAutoSnapshotPolicyExRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyAutoSnapshotPolicyExRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyAutoSnapshotPolicyExRequest.Builder targetCopyRegions(String targetCopyRegions)
* \-1: The snapshot is permanently retained. * 1 to 65535: The automatic snapshot is retained for the specified number of days. Default value: -1.
public ModifyAutoSnapshotPolicyExRequest.Builder autoSnapshotPolicyId(String autoSnapshotPolicyId)
public ModifyAutoSnapshotPolicyExRequest.Builder autoSnapshotPolicyName(String autoSnapshotPolicyName)
To schedule multiple automatic snapshots to be created in a day, you can specify multiple hours. * You can specify up to 24 points in time. * You must set this parameter to a JSON array such as `["0", "1", ... "23"]`. Separate the points in time with commas (,).
public ModifyAutoSnapshotPolicyExRequest.Builder regionId(String regionId)
public ModifyAutoSnapshotPolicyExRequest.Builder repeatWeekdays(String repeatWeekdays)
* \-1: The automatic snapshot is permanently retained. * 1 to 65536: The auto snapshot is retained for the specified number of days. Default value: -1.
public ModifyAutoSnapshotPolicyExRequest.Builder retentionDays(Integer retentionDays)
* true: enables cross-region replication for the automatic snapshot. * false: disables cross-region replication for the automatic snapshot.
public ModifyAutoSnapshotPolicyExRequest.Builder timePoints(String timePoints)
To schedule multiple automatic snapshots to be created in a week, you can specify multiple days. * You can specify up to seven days over a one-week period. * You must set this parameter to a JSON array such as `["1", "2" ... "7"]`. Separate the values in the array with commas (,).
public ModifyAutoSnapshotPolicyExRequest build()
Copyright © 2024. All rights reserved.