类 ListClustersRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.bmr.model.ListClustersRequest
-
public class ListClustersRequest extends AbstractBceRequest
Provides options for listing clusters.The optional query parameters are marker and max keys.
-
-
构造器概要
构造器 构造器 说明 ListClustersRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetMarker()intgetMaxKeys()voidsetMarker(String marker)voidsetMaxKeys(int maxKeys)ListClustersRequestwithMarker(String marker)Configure the marker for the query request.ListClustersRequestwithMaxKeys(int maxKeys)Configure the max count for each response page.ListClustersRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
getMarker
public String getMarker()
-
setMarker
public void setMarker(String marker)
-
getMaxKeys
public int getMaxKeys()
-
setMaxKeys
public void setMaxKeys(int maxKeys)
-
withMarker
public ListClustersRequest withMarker(String marker)
Configure the marker for the query request. The marker marks the starting point for the query.- 参数:
marker- the marker- 返回:
- ListClustersRequest
-
withMaxKeys
public ListClustersRequest withMaxKeys(int maxKeys)
Configure the max count for each response page. The max keys can not more than 1000, any number exceeding 1000 will be reset to 1000.- 参数:
maxKeys- The max count for each response page.- 返回:
- ListClustersRequest
-
withRequestCredentials
public ListClustersRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- ListClustersRequest
-
-