public class ListVolumesRequest extends ListRequest
| Constructor and Description |
|---|
ListVolumesRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getInstanceId() |
String |
getZoneName() |
void |
setInstanceId(String instanceId) |
void |
setZoneName(String zoneName) |
ListVolumesRequest |
withInstanceId(String instanceId)
Configure the request with specified instanceId.
|
ListVolumesRequest |
withMarker(String marker)
Configure the request with specified marker.
|
ListVolumesRequest |
withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.
|
ListVolumesRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.
|
ListVolumesRequest |
withZoneName(String zoneName) |
getMarker, getMaxKeys, setMarker, setMaxKeysgetRequestCredentials, setRequestCredentialspublic String getInstanceId()
public void setInstanceId(String instanceId)
public ListVolumesRequest withInstanceId(String instanceId)
instanceId - The id of instance.public String getZoneName()
public void setZoneName(String zoneName)
public ListVolumesRequest withZoneName(String zoneName)
public ListVolumesRequest withMarker(String marker)
withMarker in class ListRequestmarker - The optional parameter marker specified in the original request to specify
where in the results to begin listing.public ListVolumesRequest withMaxKeys(int maxKeys)
withMaxKeys in class ListRequestmaxKeys - The optional parameter to specifies the max number of list result to return.
The default value is 1000.public ListVolumesRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2021. All rights reserved.