public class ListClustersRequest extends AbstractBceRequest
The optional query parameters are marker and max keys.
| Constructor and Description |
|---|
ListClustersRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMarker() |
int |
getMaxKeys() |
void |
setMarker(String marker) |
void |
setMaxKeys(int maxKeys) |
ListClustersRequest |
withMarker(String marker)
Configure the marker for the query request.
|
ListClustersRequest |
withMaxKeys(int maxKeys)
Configure the max count for each response page.
|
ListClustersRequest |
withRequestCredentials(BceCredentials credentials)
Configure request credential for the request.
|
getRequestCredentials, setRequestCredentialspublic String getMarker()
public void setMarker(String marker)
public int getMaxKeys()
public void setMaxKeys(int maxKeys)
public ListClustersRequest withMarker(String marker)
marker - the markerpublic ListClustersRequest withMaxKeys(int maxKeys)
maxKeys - The max count for each response page.public ListClustersRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestcredentials - a valid instance of BceCredentials.Copyright © 2023. All rights reserved.