public class ResetDiskRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
diskId
The ID of the disk that you want to roll back.
|
Boolean |
dryRun
Specifies whether to check the validity of the request without actually making the request.
|
String |
ownerAccount |
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
snapshotId
The ID of the snapshot that you want to use to roll back the disk.
|
构造器和说明 |
---|
ResetDiskRequest() |
限定符和类型 | 方法和说明 |
---|---|
static ResetDiskRequest |
build(Map<String,?> map) |
String |
getDiskId() |
Boolean |
getDryRun() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getSnapshotId() |
ResetDiskRequest |
setDiskId(String diskId) |
ResetDiskRequest |
setDryRun(Boolean dryRun) |
ResetDiskRequest |
setOwnerAccount(String ownerAccount) |
ResetDiskRequest |
setOwnerId(Long ownerId) |
ResetDiskRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
ResetDiskRequest |
setResourceOwnerId(Long resourceOwnerId) |
ResetDiskRequest |
setSnapshotId(String snapshotId) |
@NameInMap(value="DiskId") public String diskId
The ID of the disk that you want to roll back.
This parameter is required.
example:d-bp199lyny9b3****
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to check the validity of the request without actually making the request. Valid values:
DryRunOperation
error code is returned.Default value: false
example:false
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SnapshotId") public String snapshotId
The ID of the snapshot that you want to use to roll back the disk.
This parameter is required.
example:s-bp199lyny9b3****
public static ResetDiskRequest build(Map<String,?> map) throws Exception
Exception
public ResetDiskRequest setDiskId(String diskId)
public String getDiskId()
public ResetDiskRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public ResetDiskRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ResetDiskRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ResetDiskRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ResetDiskRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ResetDiskRequest setSnapshotId(String snapshotId)
public String getSnapshotId()
Copyright © 2024. All rights reserved.