@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSpacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListSpacesRequest() |
Modifier and Type | Method and Description |
---|---|
ListSpacesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomainIdEquals()
A parameter to search for the Domain ID.
|
Integer |
getMaxResults()
Returns a list up to a specified limit.
|
String |
getNextToken()
If the previous response was truncated, you will receive this token.
|
String |
getSortBy()
The parameter by which to sort the results.
|
String |
getSortOrder()
The sort order for the results.
|
String |
getSpaceNameContains()
A parameter by which to filter the results.
|
int |
hashCode() |
void |
setDomainIdEquals(String domainIdEquals)
A parameter to search for the Domain ID.
|
void |
setMaxResults(Integer maxResults)
Returns a list up to a specified limit.
|
void |
setNextToken(String nextToken)
If the previous response was truncated, you will receive this token.
|
void |
setSortBy(String sortBy)
The parameter by which to sort the results.
|
void |
setSortOrder(String sortOrder)
The sort order for the results.
|
void |
setSpaceNameContains(String spaceNameContains)
A parameter by which to filter the results.
|
String |
toString()
Returns a string representation of this object.
|
ListSpacesRequest |
withDomainIdEquals(String domainIdEquals)
A parameter to search for the Domain ID.
|
ListSpacesRequest |
withMaxResults(Integer maxResults)
Returns a list up to a specified limit.
|
ListSpacesRequest |
withNextToken(String nextToken)
If the previous response was truncated, you will receive this token.
|
ListSpacesRequest |
withSortBy(SpaceSortKey sortBy)
The parameter by which to sort the results.
|
ListSpacesRequest |
withSortBy(String sortBy)
The parameter by which to sort the results.
|
ListSpacesRequest |
withSortOrder(SortOrder sortOrder)
The sort order for the results.
|
ListSpacesRequest |
withSortOrder(String sortOrder)
The sort order for the results.
|
ListSpacesRequest |
withSpaceNameContains(String spaceNameContains)
A parameter by which to filter the results.
|
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 setNextToken(String nextToken)
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
nextToken
- If the previous response was truncated, you will receive this token. Use it in your next request to
receive the next set of results.public String getNextToken()
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
public ListSpacesRequest withNextToken(String nextToken)
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
nextToken
- If the previous response was truncated, you will receive this token. Use it in your next request to
receive the next set of results.public void setMaxResults(Integer maxResults)
Returns a list up to a specified limit.
maxResults
- Returns a list up to a specified limit.public Integer getMaxResults()
Returns a list up to a specified limit.
public ListSpacesRequest withMaxResults(Integer maxResults)
Returns a list up to a specified limit.
maxResults
- Returns a list up to a specified limit.public void setSortOrder(String sortOrder)
The sort order for the results. The default is Ascending
.
sortOrder
- The sort order for the results. The default is Ascending
.SortOrder
public String getSortOrder()
The sort order for the results. The default is Ascending
.
Ascending
.SortOrder
public ListSpacesRequest withSortOrder(String sortOrder)
The sort order for the results. The default is Ascending
.
sortOrder
- The sort order for the results. The default is Ascending
.SortOrder
public ListSpacesRequest withSortOrder(SortOrder sortOrder)
The sort order for the results. The default is Ascending
.
sortOrder
- The sort order for the results. The default is Ascending
.SortOrder
public void setSortBy(String sortBy)
The parameter by which to sort the results. The default is CreationTime
.
sortBy
- The parameter by which to sort the results. The default is CreationTime
.SpaceSortKey
public String getSortBy()
The parameter by which to sort the results. The default is CreationTime
.
CreationTime
.SpaceSortKey
public ListSpacesRequest withSortBy(String sortBy)
The parameter by which to sort the results. The default is CreationTime
.
sortBy
- The parameter by which to sort the results. The default is CreationTime
.SpaceSortKey
public ListSpacesRequest withSortBy(SpaceSortKey sortBy)
The parameter by which to sort the results. The default is CreationTime
.
sortBy
- The parameter by which to sort the results. The default is CreationTime
.SpaceSortKey
public void setDomainIdEquals(String domainIdEquals)
A parameter to search for the Domain ID.
domainIdEquals
- A parameter to search for the Domain ID.public String getDomainIdEquals()
A parameter to search for the Domain ID.
public ListSpacesRequest withDomainIdEquals(String domainIdEquals)
A parameter to search for the Domain ID.
domainIdEquals
- A parameter to search for the Domain ID.public void setSpaceNameContains(String spaceNameContains)
A parameter by which to filter the results.
spaceNameContains
- A parameter by which to filter the results.public String getSpaceNameContains()
A parameter by which to filter the results.
public ListSpacesRequest withSpaceNameContains(String spaceNameContains)
A parameter by which to filter the results.
spaceNameContains
- A parameter by which to filter the results.public String toString()
toString
in class Object
Object.toString()
public ListSpacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()