public static final class ModifyAutoSnapshotPolicyExRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyAutoSnapshotPolicyExRequest.Builder |
autoSnapshotPolicyId(String autoSnapshotPolicyId)
The ID of the automatic snapshot policy.
|
ModifyAutoSnapshotPolicyExRequest.Builder |
autoSnapshotPolicyName(String autoSnapshotPolicyName)
The name of the automatic snapshot policy.
|
ModifyAutoSnapshotPolicyExRequest |
build() |
ModifyAutoSnapshotPolicyExRequest.Builder |
copiedSnapshotsRetentionDays(Integer copiedSnapshotsRetentionDays)
The retention period of the snapshot copy in the destination region.
|
ModifyAutoSnapshotPolicyExRequest.Builder |
enableCrossRegionCopy(Boolean enableCrossRegionCopy)
Specifies whether to enable cross-region replication for the automatic snapshot.
|
ModifyAutoSnapshotPolicyExRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ModifyAutoSnapshotPolicyExRequest.Builder |
regionId(String regionId)
The region ID of the automatic snapshot policy to be modified.
|
ModifyAutoSnapshotPolicyExRequest.Builder |
repeatWeekdays(String repeatWeekdays)
The days of the week on which to create automatic snapshots.
|
ModifyAutoSnapshotPolicyExRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ModifyAutoSnapshotPolicyExRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
ModifyAutoSnapshotPolicyExRequest.Builder |
retentionDays(Integer retentionDays)
The retention period of the automatic snapshot.
|
ModifyAutoSnapshotPolicyExRequest.Builder |
sourceRegionId(String sourceRegionId)
SourceRegionId.
|
ModifyAutoSnapshotPolicyExRequest.Builder |
targetCopyRegions(String targetCopyRegions)
The destination region to which to copy the snapshot.
|
ModifyAutoSnapshotPolicyExRequest.Builder |
timePoints(String timePoints)
The points in time of the day at which to create automatic snapshots.
|
public ModifyAutoSnapshotPolicyExRequest.Builder sourceRegionId(String sourceRegionId)
public ModifyAutoSnapshotPolicyExRequest.Builder copiedSnapshotsRetentionDays(Integer copiedSnapshotsRetentionDays)
* \-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 enableCrossRegionCopy(Boolean enableCrossRegionCopy)
* true: enables cross-region replication for the automatic snapshot. * false: disables cross-region replication for the automatic snapshot.
public ModifyAutoSnapshotPolicyExRequest.Builder ownerId(Long ownerId)
public ModifyAutoSnapshotPolicyExRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyAutoSnapshotPolicyExRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyAutoSnapshotPolicyExRequest.Builder targetCopyRegions(String targetCopyRegions)
public ModifyAutoSnapshotPolicyExRequest.Builder autoSnapshotPolicyId(String autoSnapshotPolicyId)
public ModifyAutoSnapshotPolicyExRequest.Builder autoSnapshotPolicyName(String autoSnapshotPolicyName)
public ModifyAutoSnapshotPolicyExRequest.Builder regionId(String regionId)
public ModifyAutoSnapshotPolicyExRequest.Builder repeatWeekdays(String repeatWeekdays)
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.Builder retentionDays(Integer retentionDays)
* \-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 timePoints(String timePoints)
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 build()
Copyright © 2023. All rights reserved.