类 ListRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.model.ListRequest
-
- 直接已知子类:
GetClusterNodesRequest,KeypairListRequest,ListAclRequest,ListAppIgRequest,ListAppIpGroupMemberRequest,ListAppPolicyRequest,ListAppRsRequest,ListAppSgRequest,ListAsGroupRequest,ListAsNodeRequest,ListAspsRequest,ListBackendServerRequest,ListBackendServerStatusRequest,ListBbcInstancesRequest,ListBlbRequest,ListClustersRequest,ListDccRequest,ListEgressOnlyRuleRequest,ListEipGroupRequest,ListEndpointRequest,ListEniRequest,ListEsgRequest,ListGetInstanceNoChargeRequest,ListImagesRequest,ListInstancesRequest,ListInstancesRequest,ListIpv6GatewayRequest,ListJobsRequest,ListListenerRequest,ListNatRequest,ListNatRuleRequest,ListOperationLogRequest,ListPeerConnRequest,ListRateLimitRuleRequest,ListSecurityGroupsRequest,ListSnapshotsRequest,ListSubnetsRequest,ListVolumeClustersRequest,ListVolumesRequest,ListVpcRequest,ListVpnConnRequest,ListVpnRequest
public abstract class ListRequest extends AbstractBceRequest
Container for the parameters of the list operation.
-
-
构造器概要
构造器 构造器 说明 ListRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetMarker()Returning the optional parameter marker specified in the original request to specify where in the results to begin listing.intgetMaxKeys()Returning the optional parameter that specifies the max number of list result to return .voidsetMarker(String marker)Setting the optional parameter marker specified in the original request to specify where in the results to begin listing.voidsetMaxKeys(int maxKeys)Setting the optional parameter to specifies the max number of list result to returnListRequestwithMarker(String marker)Configure the request with specified marker.ListRequestwithMaxKeys(int maxKeys)Configure the request with specified maxKeys.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials, withRequestCredentials
-
-
-
-
方法详细资料
-
getMarker
public String getMarker()
Returning the optional parameter marker specified in the original request to specify where in the results to begin listing.- 返回:
- The optional parameter marker specified in the original request to specify where in the results to begin listing.
-
setMarker
public void setMarker(String marker)
Setting the optional parameter marker specified in the original request to specify where in the results to begin listing.- 参数:
marker- The optional parameter marker specified in the original request to specify where in the results to begin listing.
-
withMarker
public ListRequest withMarker(String marker)
Configure the request with specified marker.- 参数:
marker- The optional parameter marker specified in the original request to specify where in the results to begin listing.- 返回:
- ListRequest with specified marker.
-
getMaxKeys
public int getMaxKeys()
Returning the optional parameter that specifies the max number of list result to return .- 返回:
- The optional parameter in the original request to specifies the max number of list result to return .
-
setMaxKeys
public void setMaxKeys(int maxKeys)
Setting the optional parameter to specifies the max number of list result to return- 参数:
maxKeys- The optional parameter in the original request to specifies the max number of list result to return .
-
withMaxKeys
public ListRequest withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.- 参数:
maxKeys- The optional parameter to specifies the max number of list result to return. The default value is 1000.- 返回:
- ListRequest with specified maxKeys.
-
-