@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()
This parameter defines the maximum number of results that can be return in a single 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)
This parameter defines the maximum number of results that can be return in a single 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)
This parameter defines the maximum number of results that can be return in a single 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)
This parameter defines the maximum number of results that can be return in a single response. The
MaxResults
parameter is an upper bound, not a target. If there are more results available than the
value specified, a NextToken
is provided in the response. The NextToken
indicates that
the user should get the next set of results by providing this token as a part of a subsequent call. The default
value for MaxResults
is 10.
maxResults
- This parameter defines the maximum number of results that can be return in a single response. The
MaxResults
parameter is an upper bound, not a target. If there are more results available
than the value specified, a NextToken
is provided in the response. The NextToken
indicates that the user should get the next set of results by providing this token as a part of a
subsequent call. The default value for MaxResults
is 10.public Integer getMaxResults()
This parameter defines the maximum number of results that can be return in a single response. The
MaxResults
parameter is an upper bound, not a target. If there are more results available than the
value specified, a NextToken
is provided in the response. The NextToken
indicates that
the user should get the next set of results by providing this token as a part of a subsequent call. The default
value for MaxResults
is 10.
MaxResults
parameter is an upper bound, not a target. If there are more results available
than the value specified, a NextToken
is provided in the response. The
NextToken
indicates that the user should get the next set of results by providing this token
as a part of a subsequent call. The default value for MaxResults
is 10.public ListSpacesRequest withMaxResults(Integer maxResults)
This parameter defines the maximum number of results that can be return in a single response. The
MaxResults
parameter is an upper bound, not a target. If there are more results available than the
value specified, a NextToken
is provided in the response. The NextToken
indicates that
the user should get the next set of results by providing this token as a part of a subsequent call. The default
value for MaxResults
is 10.
maxResults
- This parameter defines the maximum number of results that can be return in a single response. The
MaxResults
parameter is an upper bound, not a target. If there are more results available
than the value specified, a NextToken
is provided in the response. The NextToken
indicates that the user should get the next set of results by providing this token as a part of a
subsequent call. The default value for MaxResults
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()