com.baidubce.services.bcc.model.asp
Class ListAspsRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.model.ListRequest
          extended by com.baidubce.services.bcc.model.asp.ListAspsRequest

public class ListAspsRequest
extends ListRequest

The request for listing autoSnapshotPolicies.


Constructor Summary
ListAspsRequest()
           
 
Method Summary
 String getAspName()
           
 String getVolumeName()
           
 void setAspName(String aspName)
           
 void setVolumeName(String volumeName)
           
 ListAspsRequest withAspName(String aspName)
          Configure the request with specified aspName.
 ListAspsRequest withMarker(String marker)
          Configure the request with specified marker.
 ListAspsRequest withMaxKeys(int maxKeys)
          Configure the request with specified maxKeys.
 ListAspsRequest withRequestCredentials(BceCredentials credentials)
          Configure request credential for the request.
 ListAspsRequest withVolumeName(String volumeName)
          Configure the request with specified aspName.
 
Methods inherited from class com.baidubce.model.ListRequest
getMarker, getMaxKeys, setMarker, setMaxKeys
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListAspsRequest

public ListAspsRequest()
Method Detail

getAspName

public String getAspName()

setAspName

public void setAspName(String aspName)

getVolumeName

public String getVolumeName()

setVolumeName

public void setVolumeName(String volumeName)

withAspName

public ListAspsRequest withAspName(String aspName)
Configure the request with specified aspName.

Parameters:
aspName - The optional parameter to filter asp to list
Returns:
ListAspsRequest with specified aspName.

withVolumeName

public ListAspsRequest withVolumeName(String volumeName)
Configure the request with specified aspName.

Parameters:
volumeName - The optional parameter to filter asp to list
Returns:
ListAspsRequest with specified volumeName.

withMarker

public ListAspsRequest withMarker(String marker)
Configure the request with specified marker.

Overrides:
withMarker in class ListRequest
Parameters:
marker - The optional parameter marker specified in the original request to specify where in the results to begin listing.
Returns:
ListAspsRequest with specified marker.

withMaxKeys

public ListAspsRequest withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.

Overrides:
withMaxKeys in class ListRequest
Parameters:
maxKeys - The optional parameter to specifies the max number of list result to return. The default value is 1000.
Returns:
ListAspsRequest with specified maxKeys.

withRequestCredentials

public ListAspsRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.

Specified by:
withRequestCredentials in class AbstractBceRequest
Parameters:
credentials - a valid instance of BceCredentials.
Returns:
ListAspsRequest with credentials.


Copyright © 2020. All rights reserved.