@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListContextsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListContextsRequest() |
Modifier and Type | Method and Description |
---|---|
ListContextsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContextType()
A filter that returns only contexts of the specified type.
|
Date |
getCreatedAfter()
A filter that returns only contexts created on or after the specified time.
|
Date |
getCreatedBefore()
A filter that returns only contexts created on or before the specified time.
|
Integer |
getMaxResults()
The maximum number of contexts to return in the response.
|
String |
getNextToken()
If the previous call to
ListContexts didn't return the full set of contexts, the call returns a
token for getting the next set of contexts. |
String |
getSortBy()
The property used to sort results.
|
String |
getSortOrder()
The sort order.
|
String |
getSourceUri()
A filter that returns only contexts with the specified source URI.
|
int |
hashCode() |
void |
setContextType(String contextType)
A filter that returns only contexts of the specified type.
|
void |
setCreatedAfter(Date createdAfter)
A filter that returns only contexts created on or after the specified time.
|
void |
setCreatedBefore(Date createdBefore)
A filter that returns only contexts created on or before the specified time.
|
void |
setMaxResults(Integer maxResults)
The maximum number of contexts to return in the response.
|
void |
setNextToken(String nextToken)
If the previous call to
ListContexts didn't return the full set of contexts, the call returns a
token for getting the next set of contexts. |
void |
setSortBy(String sortBy)
The property used to sort results.
|
void |
setSortOrder(String sortOrder)
The sort order.
|
void |
setSourceUri(String sourceUri)
A filter that returns only contexts with the specified source URI.
|
String |
toString()
Returns a string representation of this object.
|
ListContextsRequest |
withContextType(String contextType)
A filter that returns only contexts of the specified type.
|
ListContextsRequest |
withCreatedAfter(Date createdAfter)
A filter that returns only contexts created on or after the specified time.
|
ListContextsRequest |
withCreatedBefore(Date createdBefore)
A filter that returns only contexts created on or before the specified time.
|
ListContextsRequest |
withMaxResults(Integer maxResults)
The maximum number of contexts to return in the response.
|
ListContextsRequest |
withNextToken(String nextToken)
If the previous call to
ListContexts didn't return the full set of contexts, the call returns a
token for getting the next set of contexts. |
ListContextsRequest |
withSortBy(SortContextsBy sortBy)
The property used to sort results.
|
ListContextsRequest |
withSortBy(String sortBy)
The property used to sort results.
|
ListContextsRequest |
withSortOrder(SortOrder sortOrder)
The sort order.
|
ListContextsRequest |
withSortOrder(String sortOrder)
The sort order.
|
ListContextsRequest |
withSourceUri(String sourceUri)
A filter that returns only contexts with the specified source URI.
|
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 setSourceUri(String sourceUri)
A filter that returns only contexts with the specified source URI.
sourceUri
- A filter that returns only contexts with the specified source URI.public String getSourceUri()
A filter that returns only contexts with the specified source URI.
public ListContextsRequest withSourceUri(String sourceUri)
A filter that returns only contexts with the specified source URI.
sourceUri
- A filter that returns only contexts with the specified source URI.public void setContextType(String contextType)
A filter that returns only contexts of the specified type.
contextType
- A filter that returns only contexts of the specified type.public String getContextType()
A filter that returns only contexts of the specified type.
public ListContextsRequest withContextType(String contextType)
A filter that returns only contexts of the specified type.
contextType
- A filter that returns only contexts of the specified type.public void setCreatedAfter(Date createdAfter)
A filter that returns only contexts created on or after the specified time.
createdAfter
- A filter that returns only contexts created on or after the specified time.public Date getCreatedAfter()
A filter that returns only contexts created on or after the specified time.
public ListContextsRequest withCreatedAfter(Date createdAfter)
A filter that returns only contexts created on or after the specified time.
createdAfter
- A filter that returns only contexts created on or after the specified time.public void setCreatedBefore(Date createdBefore)
A filter that returns only contexts created on or before the specified time.
createdBefore
- A filter that returns only contexts created on or before the specified time.public Date getCreatedBefore()
A filter that returns only contexts created on or before the specified time.
public ListContextsRequest withCreatedBefore(Date createdBefore)
A filter that returns only contexts created on or before the specified time.
createdBefore
- A filter that returns only contexts created on or before the specified time.public void setSortBy(String sortBy)
The property used to sort results. The default value is CreationTime
.
sortBy
- The property used to sort results. The default value is CreationTime
.SortContextsBy
public String getSortBy()
The property used to sort results. The default value is CreationTime
.
CreationTime
.SortContextsBy
public ListContextsRequest withSortBy(String sortBy)
The property used to sort results. The default value is CreationTime
.
sortBy
- The property used to sort results. The default value is CreationTime
.SortContextsBy
public ListContextsRequest withSortBy(SortContextsBy sortBy)
The property used to sort results. The default value is CreationTime
.
sortBy
- The property used to sort results. The default value is CreationTime
.SortContextsBy
public void setSortOrder(String sortOrder)
The sort order. The default value is Descending
.
sortOrder
- The sort order. The default value is Descending
.SortOrder
public String getSortOrder()
The sort order. The default value is Descending
.
Descending
.SortOrder
public ListContextsRequest withSortOrder(String sortOrder)
The sort order. The default value is Descending
.
sortOrder
- The sort order. The default value is Descending
.SortOrder
public ListContextsRequest withSortOrder(SortOrder sortOrder)
The sort order. The default value is Descending
.
sortOrder
- The sort order. The default value is Descending
.SortOrder
public void setNextToken(String nextToken)
If the previous call to ListContexts
didn't return the full set of contexts, the call returns a
token for getting the next set of contexts.
nextToken
- If the previous call to ListContexts
didn't return the full set of contexts, the call returns
a token for getting the next set of contexts.public String getNextToken()
If the previous call to ListContexts
didn't return the full set of contexts, the call returns a
token for getting the next set of contexts.
ListContexts
didn't return the full set of contexts, the call
returns a token for getting the next set of contexts.public ListContextsRequest withNextToken(String nextToken)
If the previous call to ListContexts
didn't return the full set of contexts, the call returns a
token for getting the next set of contexts.
nextToken
- If the previous call to ListContexts
didn't return the full set of contexts, the call returns
a token for getting the next set of contexts.public void setMaxResults(Integer maxResults)
The maximum number of contexts to return in the response. The default value is 10.
maxResults
- The maximum number of contexts to return in the response. The default value is 10.public Integer getMaxResults()
The maximum number of contexts to return in the response. The default value is 10.
public ListContextsRequest withMaxResults(Integer maxResults)
The maximum number of contexts to return in the response. The default value is 10.
maxResults
- The maximum number of contexts to return in the response. The default value is 10.public String toString()
toString
in class Object
Object.toString()
public ListContextsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()