public static final class DeleteSnapshotRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
DeleteSnapshotRequest |
build() |
DeleteSnapshotRequest.Builder |
force(Boolean force)
Specifies whether to forcefully delete the snapshot that has been used to create disks.
|
DeleteSnapshotRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
DeleteSnapshotRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
DeleteSnapshotRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
DeleteSnapshotRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
DeleteSnapshotRequest.Builder |
snapshotId(String snapshotId)
The ID of the snapshot.
|
DeleteSnapshotRequest.Builder |
sourceRegionId(String sourceRegionId)
SourceRegionId.
|
public DeleteSnapshotRequest.Builder sourceRegionId(String sourceRegionId)
public DeleteSnapshotRequest.Builder force(Boolean force)
* true: forcefully deletes the snapshot. After the snapshot is forcefully deleted, the disks created from this snapshot cannot be re-initialized. * false: does not forcefully delete the snapshot. Default value: false.
public DeleteSnapshotRequest.Builder ownerAccount(String ownerAccount)
public DeleteSnapshotRequest.Builder ownerId(Long ownerId)
public DeleteSnapshotRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DeleteSnapshotRequest.Builder resourceOwnerId(Long resourceOwnerId)
public DeleteSnapshotRequest.Builder snapshotId(String snapshotId)
public DeleteSnapshotRequest build()
Copyright © 2023. All rights reserved.