@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() |
boolean |
equals(Object obj) |
String |
getFleetName()
The name of the fleet for which to list sessions.
|
Integer |
getLimit()
The size of each page of results.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
String |
getStackName()
The name of the stack for which to list sessions.
|
String |
getUserId()
The user for whom to list sessions.
|
int |
hashCode() |
void |
setFleetName(String fleetName)
The name of the fleet for which to list sessions.
|
void |
setLimit(Integer limit)
The size of each page of results.
|
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
void |
setStackName(String stackName)
The name of the stack for which to list sessions.
|
void |
setUserId(String userId)
The user for whom to list sessions.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeSessionsRequest |
withFleetName(String fleetName)
The name of the fleet for which to list sessions.
|
DescribeSessionsRequest |
withLimit(Integer limit)
The size of each page of results.
|
DescribeSessionsRequest |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
DescribeSessionsRequest |
withStackName(String stackName)
The name of the stack for which to list sessions.
|
DescribeSessionsRequest |
withUserId(String userId)
The user for whom to list sessions.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setStackName(String stackName)
The name of the stack for which to list sessions.
stackName - The name of the stack for which to list sessions.public String getStackName()
The name of the stack for which to list sessions.
public DescribeSessionsRequest withStackName(String stackName)
The name of the stack for which to list sessions.
stackName - The name of the stack for which to list sessions.public void setFleetName(String fleetName)
The name of the fleet for which to list sessions.
fleetName - The name of the fleet for which to list sessions.public String getFleetName()
The name of the fleet for which to list sessions.
public DescribeSessionsRequest withFleetName(String fleetName)
The name of the fleet for which to list sessions.
fleetName - The name of the fleet for which to list sessions.public void setUserId(String userId)
The user for whom to list sessions. Use null to describe all the sessions for the stack and fleet.
userId - The user for whom to list sessions. Use null to describe all the sessions for the stack and fleet.public String getUserId()
The user for whom to list sessions. Use null to describe all the sessions for the stack and fleet.
public DescribeSessionsRequest withUserId(String userId)
The user for whom to list sessions. Use null to describe all the sessions for the stack and fleet.
userId - The user for whom to list sessions. Use null to describe all the sessions for the stack and fleet.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
nextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
public DescribeSessionsRequest withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
nextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public void setLimit(Integer limit)
The size of each page of results. The default value is 20 and the maximum supported value is 50.
limit - The size of each page of results. The default value is 20 and the maximum supported value is 50.public Integer getLimit()
The size of each page of results. The default value is 20 and the maximum supported value is 50.
public DescribeSessionsRequest withLimit(Integer limit)
The size of each page of results. The default value is 20 and the maximum supported value is 50.
limit - The size of each page of results. The default value is 20 and the maximum supported value is 50.public String toString()
toString in class ObjectObject.toString()public DescribeSessionsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.