@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSessionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeSessionsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSessionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<SessionFilter> |
getFilters()
One or more filters to limit the type of sessions returned by the request.
|
Integer |
getMaxResults()
The maximum number of items to return for this call.
|
String |
getNextToken()
The token for the next set of items to return.
|
String |
getState()
The session status to retrieve a list of sessions for.
|
int |
hashCode() |
void |
setFilters(Collection<SessionFilter> filters)
One or more filters to limit the type of sessions returned by the request.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
void |
setState(String state)
The session status to retrieve a list of sessions for.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSessionsRequest |
withFilters(Collection<SessionFilter> filters)
One or more filters to limit the type of sessions returned by the request.
|
DescribeSessionsRequest |
withFilters(SessionFilter... filters)
One or more filters to limit the type of sessions returned by the request.
|
DescribeSessionsRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this call.
|
DescribeSessionsRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
DescribeSessionsRequest |
withState(SessionState state)
The session status to retrieve a list of sessions for.
|
DescribeSessionsRequest |
withState(String state)
The session status to retrieve a list of sessions for.
|
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 setState(String state)
The session status to retrieve a list of sessions for. For example, "Active".
state
- The session status to retrieve a list of sessions for. For example, "Active".SessionState
public String getState()
The session status to retrieve a list of sessions for. For example, "Active".
SessionState
public DescribeSessionsRequest withState(String state)
The session status to retrieve a list of sessions for. For example, "Active".
state
- The session status to retrieve a list of sessions for. For example, "Active".SessionState
public DescribeSessionsRequest withState(SessionState state)
The session status to retrieve a list of sessions for. For example, "Active".
state
- The session status to retrieve a list of sessions for. For example, "Active".SessionState
public void setMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public Integer getMaxResults()
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
public DescribeSessionsRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in
a subsequent call to get the next set of results.public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public DescribeSessionsRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public List<SessionFilter> getFilters()
One or more filters to limit the type of sessions returned by the request.
public void setFilters(Collection<SessionFilter> filters)
One or more filters to limit the type of sessions returned by the request.
filters
- One or more filters to limit the type of sessions returned by the request.public DescribeSessionsRequest withFilters(SessionFilter... filters)
One or more filters to limit the type of sessions returned by the request.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- One or more filters to limit the type of sessions returned by the request.public DescribeSessionsRequest withFilters(Collection<SessionFilter> filters)
One or more filters to limit the type of sessions returned by the request.
filters
- One or more filters to limit the type of sessions returned by the request.public String toString()
toString
in class Object
Object.toString()
public DescribeSessionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()