@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSessionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListSessionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListSessionsRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ListSessionsRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
ListSessionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results.
|
String |
getNextToken()
The token for the next set of results, or null if there are no more result.
|
String |
getRequestOrigin()
The origin of the request.
|
Map<String,String> |
getTags()
Tags belonging to the session.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no more result.
|
void |
setRequestOrigin(String requestOrigin)
The origin of the request.
|
void |
setTags(Map<String,String> tags)
Tags belonging to the session.
|
String |
toString()
Returns a string representation of this object.
|
ListSessionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results.
|
ListSessionsRequest |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no more result.
|
ListSessionsRequest |
withRequestOrigin(String requestOrigin)
The origin of the request.
|
ListSessionsRequest |
withTags(Map<String,String> tags)
Tags belonging to the session.
|
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)
The token for the next set of results, or null if there are no more result.
nextToken
- The token for the next set of results, or null if there are no more result.public String getNextToken()
The token for the next set of results, or null if there are no more result.
public ListSessionsRequest withNextToken(String nextToken)
The token for the next set of results, or null if there are no more result.
nextToken
- The token for the next set of results, or null if there are no more result.public void setMaxResults(Integer maxResults)
The maximum number of results.
maxResults
- The maximum number of results.public Integer getMaxResults()
The maximum number of results.
public ListSessionsRequest withMaxResults(Integer maxResults)
The maximum number of results.
maxResults
- The maximum number of results.public Map<String,String> getTags()
Tags belonging to the session.
public void setTags(Map<String,String> tags)
Tags belonging to the session.
tags
- Tags belonging to the session.public ListSessionsRequest withTags(Map<String,String> tags)
Tags belonging to the session.
tags
- Tags belonging to the session.public ListSessionsRequest addTagsEntry(String key, String value)
public ListSessionsRequest clearTagsEntries()
public void setRequestOrigin(String requestOrigin)
The origin of the request.
requestOrigin
- The origin of the request.public String getRequestOrigin()
The origin of the request.
public ListSessionsRequest withRequestOrigin(String requestOrigin)
The origin of the request.
requestOrigin
- The origin of the request.public String toString()
toString
in class Object
Object.toString()
public ListSessionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()