public static final class ResetDiskRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ResetDiskRequest |
build() |
ResetDiskRequest.Builder |
diskId(String diskId)
The ID of the disk that you want to roll back.
|
ResetDiskRequest.Builder |
dryRun(Boolean dryRun)
Specifies whether to check the validity of the request without actually making the request.
|
ResetDiskRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
ResetDiskRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ResetDiskRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ResetDiskRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
ResetDiskRequest.Builder |
snapshotId(String snapshotId)
The ID of the snapshot that you want to use to roll back the disk.
|
ResetDiskRequest.Builder |
sourceRegionId(String sourceRegionId)
SourceRegionId.
|
public ResetDiskRequest.Builder sourceRegionId(String sourceRegionId)
public ResetDiskRequest.Builder diskId(String diskId)
public ResetDiskRequest.Builder dryRun(Boolean dryRun)
* true: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and resource state limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned. * false: performs a dry run and performs the actual request. If the request passes the dry run, the rollback operation is performed. Default value: false
public ResetDiskRequest.Builder ownerAccount(String ownerAccount)
public ResetDiskRequest.Builder ownerId(Long ownerId)
public ResetDiskRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ResetDiskRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ResetDiskRequest.Builder snapshotId(String snapshotId)
public ResetDiskRequest build()
Copyright © 2024. All rights reserved.