@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()
The total number of items to return in the response.
|
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)
The total number of items to return in the response.
|
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)
The total number of items to return in the response.
|
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)
The total number of items to return in the response. If the total number of items available is more than the
value specified, a NextToken
is provided in the response. To resume pagination, provide the
NextToken
value in the as part of a subsequent call. The default value is 10.
maxResults
- The total number of items to return in the response. If the total number of items available is more than
the value specified, a NextToken
is provided in the response. To resume pagination, provide
the NextToken
value in the as part of a subsequent call. The default value is 10.public Integer getMaxResults()
The total number of items to return in the response. If the total number of items available is more than the
value specified, a NextToken
is provided in the response. To resume pagination, provide the
NextToken
value in the as part of a subsequent call. The default value is 10.
NextToken
is provided in the response. To resume pagination, provide
the NextToken
value in the as part of a subsequent call. The default value is 10.public ListSpacesRequest withMaxResults(Integer maxResults)
The total number of items to return in the response. If the total number of items available is more than the
value specified, a NextToken
is provided in the response. To resume pagination, provide the
NextToken
value in the as part of a subsequent call. The default value is 10.
maxResults
- The total number of items to return in the response. If the total number of items available is more than
the value specified, a NextToken
is provided in the response. To resume pagination, provide
the NextToken
value in the as part of a subsequent call. The default value is 10.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()