类 ListInstancesRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.model.ListRequest
-
- com.baidubce.services.bci.model.instance.ListInstancesRequest
-
public class ListInstancesRequest extends ListRequest
The request for list instances
-
-
构造器概要
构造器 构造器 说明 ListInstancesRequest()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetKeyword()StringgetKeywordType()ListInstancesRequestsetKeyword(String keyword)ListInstancesRequestsetKeywordType(String keywordType)ListInstancesRequestwithMarker(String marker)Configure the request with specified marker.ListInstancesRequestwithMaxKeys(int maxKeys)Configure the request with specified maxKeys.ListInstancesRequestwithRequestCredentials(BceCredentials credentials)Configure request credential for the request.-
从类继承的方法 com.baidubce.model.ListRequest
getMarker, getMaxKeys, setMarker, setMaxKeys
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
方法详细资料
-
withRequestCredentials
public ListInstancesRequest withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.- 指定者:
withRequestCredentials在类中AbstractBceRequest- 参数:
credentials- a valid instance of BceCredentials.- 返回:
- ListInstancesRequest with credentials.
-
getKeywordType
public String getKeywordType()
-
setKeywordType
public ListInstancesRequest setKeywordType(String keywordType)
-
getKeyword
public String getKeyword()
-
setKeyword
public ListInstancesRequest setKeyword(String keyword)
-
withMarker
public ListInstancesRequest withMarker(String marker)
Configure the request with specified marker.- 覆盖:
withMarker在类中ListRequest- 参数:
marker- The optional parameter marker specified in the original request to specify where in the results to begin listing.- 返回:
- ListInstancesRequest with specified marker.
-
withMaxKeys
public ListInstancesRequest withMaxKeys(int maxKeys)
Configure the request with specified maxKeys.- 覆盖:
withMaxKeys在类中ListRequest- 参数:
maxKeys- The optional parameter to specifies the max number of list result to return. The default value is 1000.- 返回:
- ListInstancesRequest with specified maxKeys.
-
-