public class ApplyAutoSnapshotPolicyRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
autoSnapshotPolicyId
The ID of the automatic snapshot policy.
|
String |
diskIds
The IDs of disks.
|
Long |
ownerId |
String |
regionId
The region ID of the automatic snapshot policy and the disks.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
ApplyAutoSnapshotPolicyRequest() |
限定符和类型 | 方法和说明 |
---|---|
static ApplyAutoSnapshotPolicyRequest |
build(Map<String,?> map) |
String |
getAutoSnapshotPolicyId() |
String |
getDiskIds() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
ApplyAutoSnapshotPolicyRequest |
setAutoSnapshotPolicyId(String autoSnapshotPolicyId) |
ApplyAutoSnapshotPolicyRequest |
setDiskIds(String diskIds) |
ApplyAutoSnapshotPolicyRequest |
setOwnerId(Long ownerId) |
ApplyAutoSnapshotPolicyRequest |
setRegionId(String regionId) |
ApplyAutoSnapshotPolicyRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
ApplyAutoSnapshotPolicyRequest |
setResourceOwnerId(Long resourceOwnerId) |
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="autoSnapshotPolicyId") public String autoSnapshotPolicyId
The ID of the automatic snapshot policy.
This parameter is required.
example:sp-bp14yziiuvu3s6jn****
@NameInMap(value="diskIds") public String diskIds
The IDs of disks. The value is a JSON array that consists of disk IDs. Separate the disk IDs with commas (,).
This parameter is required.
example:["d-bp14k9cxvr5uzy54****", "d-bp1dtj8v7x6u08iw****", "d-bp1c0tyj9tfli2r8****"]
@NameInMap(value="regionId") public String regionId
The region ID of the automatic snapshot policy and the disks. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
public static ApplyAutoSnapshotPolicyRequest build(Map<String,?> map) throws Exception
Exception
public ApplyAutoSnapshotPolicyRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ApplyAutoSnapshotPolicyRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ApplyAutoSnapshotPolicyRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ApplyAutoSnapshotPolicyRequest setAutoSnapshotPolicyId(String autoSnapshotPolicyId)
public String getAutoSnapshotPolicyId()
public ApplyAutoSnapshotPolicyRequest setDiskIds(String diskIds)
public String getDiskIds()
public ApplyAutoSnapshotPolicyRequest setRegionId(String regionId)
public String getRegionId()
Copyright © 2024. All rights reserved.