public class ModifyAutoSnapshotPolicyExRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
autoSnapshotPolicyId
The name of the automatic snapshot policy.
|
String |
autoSnapshotPolicyName
The points in time of the day at which to create automatic snapshots.
|
Integer |
copiedSnapshotsRetentionDays
The ID of the request.
|
ModifyAutoSnapshotPolicyExRequest.ModifyAutoSnapshotPolicyExRequestCopyEncryptionConfiguration |
copyEncryptionConfiguration
The encryption configurations for cross-region snapshot replication.
|
Boolean |
enableCrossRegionCopy
The destination region to which to copy the snapshot.
|
Long |
ownerId |
String |
regionId
The ID of the automatic snapshot policy.
|
String |
repeatWeekdays
The retention period of the automatic snapshot.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Integer |
retentionDays
Specifies whether to enable cross-region replication for the automatic snapshot.
|
String |
targetCopyRegions
The retention period of the snapshot copy in the destination region.
|
String |
timePoints
The days of the week on which to create automatic snapshots.
|
构造器和说明 |
---|
ModifyAutoSnapshotPolicyExRequest() |
@NameInMap(value="CopiedSnapshotsRetentionDays") public Integer copiedSnapshotsRetentionDays
The ID of the request.
example:30
@NameInMap(value="CopyEncryptionConfiguration") public ModifyAutoSnapshotPolicyExRequest.ModifyAutoSnapshotPolicyExRequestCopyEncryptionConfiguration copyEncryptionConfiguration
The encryption configurations for cross-region snapshot replication.
@NameInMap(value="EnableCrossRegionCopy") public Boolean enableCrossRegionCopy
The destination region to which to copy the snapshot. You can specify only a single destination region.
example:false
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="TargetCopyRegions") public String targetCopyRegions
The retention period of the snapshot copy in the destination region. Unit: days. Valid values:
Default value: -1.
example:["cn-hangzhou"]
@NameInMap(value="autoSnapshotPolicyId") public String autoSnapshotPolicyId
The name of the automatic snapshot policy. If this parameter is not specified, the original name of the automatic snapshot policy is retained.
This parameter is required.
example:sp-bp12m37ccmxvbmi5****
@NameInMap(value="autoSnapshotPolicyName") public String autoSnapshotPolicyName
The points in time of the day at which to create automatic snapshots. The time must be in UTC+8. Unit: hours. Valid values are 0 to 23, which correspond to the 24 points in time on the hour from 00:00:00 to 23:00:00. For example, a value of 1 indicates 01:00:00.
To schedule multiple automatic snapshots to be created in a day, you can specify multiple hours.
["0", "1", ... "23"]
. Separate the points in time with commas (,).SPTestName
@NameInMap(value="regionId") public String regionId
The ID of the automatic snapshot policy. You can call the DescribeAutoSnapshotPolicyEx operation to query available automatic snapshot policies.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="repeatWeekdays") public String repeatWeekdays
The retention period of the automatic snapshot. Unit: days. Valid values:
Default value: -1.
example:["1", "7"]
@NameInMap(value="retentionDays") public Integer retentionDays
Specifies whether to enable cross-region replication for the automatic snapshot.
30
@NameInMap(value="timePoints") public String timePoints
The days of the week on which to create automatic snapshots. Valid values are 1 to 7, which correspond to the days of the week. For example, a value of 1 indicates Monday.
To schedule multiple automatic snapshots to be created in a week, you can specify multiple days.
["1", "2" ... "7"]
. Separate the values in the array with commas (,).["0", "1"]
public static ModifyAutoSnapshotPolicyExRequest build(Map<String,?> map) throws Exception
Exception
public ModifyAutoSnapshotPolicyExRequest setCopiedSnapshotsRetentionDays(Integer copiedSnapshotsRetentionDays)
public Integer getCopiedSnapshotsRetentionDays()
public ModifyAutoSnapshotPolicyExRequest setCopyEncryptionConfiguration(ModifyAutoSnapshotPolicyExRequest.ModifyAutoSnapshotPolicyExRequestCopyEncryptionConfiguration copyEncryptionConfiguration)
public ModifyAutoSnapshotPolicyExRequest.ModifyAutoSnapshotPolicyExRequestCopyEncryptionConfiguration getCopyEncryptionConfiguration()
public ModifyAutoSnapshotPolicyExRequest setEnableCrossRegionCopy(Boolean enableCrossRegionCopy)
public Boolean getEnableCrossRegionCopy()
public ModifyAutoSnapshotPolicyExRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyAutoSnapshotPolicyExRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyAutoSnapshotPolicyExRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifyAutoSnapshotPolicyExRequest setTargetCopyRegions(String targetCopyRegions)
public String getTargetCopyRegions()
public ModifyAutoSnapshotPolicyExRequest setAutoSnapshotPolicyId(String autoSnapshotPolicyId)
public String getAutoSnapshotPolicyId()
public ModifyAutoSnapshotPolicyExRequest setAutoSnapshotPolicyName(String autoSnapshotPolicyName)
public String getAutoSnapshotPolicyName()
public ModifyAutoSnapshotPolicyExRequest setRegionId(String regionId)
public String getRegionId()
public ModifyAutoSnapshotPolicyExRequest setRepeatWeekdays(String repeatWeekdays)
public String getRepeatWeekdays()
public ModifyAutoSnapshotPolicyExRequest setRetentionDays(Integer retentionDays)
public Integer getRetentionDays()
public ModifyAutoSnapshotPolicyExRequest setTimePoints(String timePoints)
public String getTimePoints()
Copyright © 2024. All rights reserved.