类 GetSnapshotRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.bcc.model.snapshot.GetSnapshotRequest
-
public class GetSnapshotRequest extends AbstractBceRequest
The request for getting the specified snapshot detail information.
-
-
构造器概要
构造器 构造器 说明 GetSnapshotRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetSnapshotId()voidsetSnapshotId(String snapshotId)GetSnapshotRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.GetSnapshotRequestwithSnapshotId(String snapshotId)Configure snapshotId for the request.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getSnapshotId
public String getSnapshotId()
-
setSnapshotId
public void setSnapshotId(String snapshotId)
-
withSnapshotId
public GetSnapshotRequest withSnapshotId(String snapshotId)
Configure snapshotId for the request.- 参数:
snapshotId- The id of snapshot which wil be deleted.- 返回:
- GetSnapshotRequest with snapshotId.
-
withRequestCredentials
public GetSnapshotRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- GetSnapshotRequest with credentials.
-
-