public class DeleteSnapshotRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
force
Specifies whether to force delete the snapshot that has been used to create cloud disks.
|
String |
ownerAccount |
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
snapshotId
The snapshot ID.
|
构造器和说明 |
---|
DeleteSnapshotRequest() |
限定符和类型 | 方法和说明 |
---|---|
static DeleteSnapshotRequest |
build(Map<String,?> map) |
Boolean |
getForce() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getSnapshotId() |
DeleteSnapshotRequest |
setForce(Boolean force) |
DeleteSnapshotRequest |
setOwnerAccount(String ownerAccount) |
DeleteSnapshotRequest |
setOwnerId(Long ownerId) |
DeleteSnapshotRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
DeleteSnapshotRequest |
setResourceOwnerId(Long resourceOwnerId) |
DeleteSnapshotRequest |
setSnapshotId(String snapshotId) |
@NameInMap(value="Force") public Boolean force
Specifies whether to force delete the snapshot that has been used to create cloud disks. Valid values:
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 snapshot ID.
This parameter is required.
example:s-bp1c0doj0taqyzzl****
public static DeleteSnapshotRequest build(Map<String,?> map) throws Exception
Exception
public DeleteSnapshotRequest setForce(Boolean force)
public Boolean getForce()
public DeleteSnapshotRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DeleteSnapshotRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DeleteSnapshotRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DeleteSnapshotRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DeleteSnapshotRequest setSnapshotId(String snapshotId)
public String getSnapshotId()
Copyright © 2024. All rights reserved.