@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkspacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a ListWorkspaces
operation.
NOOP
Constructor and Description |
---|
ListWorkspacesRequest() |
Modifier and Type | Method and Description |
---|---|
ListWorkspacesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAlias()
If this is included, it filters the results to only the workspaces with names that start with the value that you
specify here.
|
Integer |
getMaxResults()
The maximum number of workspaces to return per request.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setAlias(String alias)
If this is included, it filters the results to only the workspaces with names that start with the value that you
specify here.
|
void |
setMaxResults(Integer maxResults)
The maximum number of workspaces to return per request.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkspacesRequest |
withAlias(String alias)
If this is included, it filters the results to only the workspaces with names that start with the value that you
specify here.
|
ListWorkspacesRequest |
withMaxResults(Integer maxResults)
The maximum number of workspaces to return per request.
|
ListWorkspacesRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAlias(String alias)
If this is included, it filters the results to only the workspaces with names that start with the value that you specify here.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
alias
- If this is included, it filters the results to only the workspaces with names that start with the value
that you specify here.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
public String getAlias()
If this is included, it filters the results to only the workspaces with names that start with the value that you specify here.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
public ListWorkspacesRequest withAlias(String alias)
If this is included, it filters the results to only the workspaces with names that start with the value that you specify here.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
alias
- If this is included, it filters the results to only the workspaces with names that start with the value
that you specify here.
Amazon Managed Service for Prometheus will automatically strip any blank spaces from the beginning and end of the alias that you specify.
public void setMaxResults(Integer maxResults)
The maximum number of workspaces to return per request. The default is 100.
maxResults
- The maximum number of workspaces to return per request. The default is 100.public Integer getMaxResults()
The maximum number of workspaces to return per request. The default is 100.
public ListWorkspacesRequest withMaxResults(Integer maxResults)
The maximum number of workspaces to return per request. The default is 100.
maxResults
- The maximum number of workspaces to return per request. The default is 100.public void setNextToken(String nextToken)
The token for the next set of items to return. You receive this token from a previous call, and use it to get the next page of results. The other parameters must be the same as the initial call.
For example, if your initial request has maxResults
of 10, and there are 12 workspaces to return,
then your initial request will return 10 and a nextToken
. Using the next token in a subsequent call
will return the remaining 2 workspaces.
nextToken
- The token for the next set of items to return. You receive this token from a previous call, and use it to
get the next page of results. The other parameters must be the same as the initial call.
For example, if your initial request has maxResults
of 10, and there are 12 workspaces to
return, then your initial request will return 10 and a nextToken
. Using the next token in a
subsequent call will return the remaining 2 workspaces.
public String getNextToken()
The token for the next set of items to return. You receive this token from a previous call, and use it to get the next page of results. The other parameters must be the same as the initial call.
For example, if your initial request has maxResults
of 10, and there are 12 workspaces to return,
then your initial request will return 10 and a nextToken
. Using the next token in a subsequent call
will return the remaining 2 workspaces.
For example, if your initial request has maxResults
of 10, and there are 12 workspaces to
return, then your initial request will return 10 and a nextToken
. Using the next token in a
subsequent call will return the remaining 2 workspaces.
public ListWorkspacesRequest withNextToken(String nextToken)
The token for the next set of items to return. You receive this token from a previous call, and use it to get the next page of results. The other parameters must be the same as the initial call.
For example, if your initial request has maxResults
of 10, and there are 12 workspaces to return,
then your initial request will return 10 and a nextToken
. Using the next token in a subsequent call
will return the remaining 2 workspaces.
nextToken
- The token for the next set of items to return. You receive this token from a previous call, and use it to
get the next page of results. The other parameters must be the same as the initial call.
For example, if your initial request has maxResults
of 10, and there are 12 workspaces to
return, then your initial request will return 10 and a nextToken
. Using the next token in a
subsequent call will return the remaining 2 workspaces.
public String toString()
toString
in class Object
Object.toString()
public ListWorkspacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()