@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()
Optional filter for workspace alias.
|
Integer |
getMaxResults()
Maximum results to return in response (default=100, maximum=1000).
|
String |
getNextToken()
Pagination token to request the next page in a paginated list.
|
int |
hashCode() |
void |
setAlias(String alias)
Optional filter for workspace alias.
|
void |
setMaxResults(Integer maxResults)
Maximum results to return in response (default=100, maximum=1000).
|
void |
setNextToken(String nextToken)
Pagination token to request the next page in a paginated list.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkspacesRequest |
withAlias(String alias)
Optional filter for workspace alias.
|
ListWorkspacesRequest |
withMaxResults(Integer maxResults)
Maximum results to return in response (default=100, maximum=1000).
|
ListWorkspacesRequest |
withNextToken(String nextToken)
Pagination token to request the next page in a paginated list.
|
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)
Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be returned.
alias
- Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be
returned.public String getAlias()
Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be returned.
public ListWorkspacesRequest withAlias(String alias)
Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be returned.
alias
- Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be
returned.public void setMaxResults(Integer maxResults)
Maximum results to return in response (default=100, maximum=1000).
maxResults
- Maximum results to return in response (default=100, maximum=1000).public Integer getMaxResults()
Maximum results to return in response (default=100, maximum=1000).
public ListWorkspacesRequest withMaxResults(Integer maxResults)
Maximum results to return in response (default=100, maximum=1000).
maxResults
- Maximum results to return in response (default=100, maximum=1000).public void setNextToken(String nextToken)
Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.
nextToken
- Pagination token to request the next page in a paginated list. This token is obtained from the output of
the previous ListWorkspaces request.public String getNextToken()
Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.
public ListWorkspacesRequest withNextToken(String nextToken)
Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.
nextToken
- Pagination token to request the next page in a paginated list. This token is obtained from the output of
the previous ListWorkspaces request.public String toString()
toString
in class Object
Object.toString()
public ListWorkspacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()