@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 |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFarmId()
The farm ID for the list of sessions.
|
String |
getJobId()
The job ID for the list of sessions.
|
Integer |
getMaxResults()
The maximum number of results to return.
|
String |
getNextToken()
The token for the next set of results, or
null to start from the beginning. |
String |
getQueueId()
The queue ID for the list of sessions
|
int |
hashCode() |
void |
setFarmId(String farmId)
The farm ID for the list of sessions.
|
void |
setJobId(String jobId)
The job ID for the list of sessions.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or
null to start from the beginning. |
void |
setQueueId(String queueId)
The queue ID for the list of sessions
|
String |
toString()
Returns a string representation of this object.
|
ListSessionsRequest |
withFarmId(String farmId)
The farm ID for the list of sessions.
|
ListSessionsRequest |
withJobId(String jobId)
The job ID for the list of sessions.
|
ListSessionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
ListSessionsRequest |
withNextToken(String nextToken)
The token for the next set of results, or
null to start from the beginning. |
ListSessionsRequest |
withQueueId(String queueId)
The queue ID for the list of sessions
|
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 setFarmId(String farmId)
The farm ID for the list of sessions.
farmId
- The farm ID for the list of sessions.public String getFarmId()
The farm ID for the list of sessions.
public ListSessionsRequest withFarmId(String farmId)
The farm ID for the list of sessions.
farmId
- The farm ID for the list of sessions.public void setJobId(String jobId)
The job ID for the list of sessions.
jobId
- The job ID for the list of sessions.public String getJobId()
The job ID for the list of sessions.
public ListSessionsRequest withJobId(String jobId)
The job ID for the list of sessions.
jobId
- The job ID for the list of sessions.public void setMaxResults(Integer maxResults)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential pages.
maxResults
- The maximum number of results to return. Use this parameter with NextToken
to get results as
a set of sequential pages.public Integer getMaxResults()
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential pages.
NextToken
to get results as
a set of sequential pages.public ListSessionsRequest withMaxResults(Integer maxResults)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential pages.
maxResults
- The maximum number of results to return. Use this parameter with NextToken
to get results as
a set of sequential pages.public void setNextToken(String nextToken)
The token for the next set of results, or null
to start from the beginning.
nextToken
- The token for the next set of results, or null
to start from the beginning.public String getNextToken()
The token for the next set of results, or null
to start from the beginning.
null
to start from the beginning.public ListSessionsRequest withNextToken(String nextToken)
The token for the next set of results, or null
to start from the beginning.
nextToken
- The token for the next set of results, or null
to start from the beginning.public void setQueueId(String queueId)
The queue ID for the list of sessions
queueId
- The queue ID for the list of sessionspublic String getQueueId()
The queue ID for the list of sessions
public ListSessionsRequest withQueueId(String queueId)
The queue ID for the list of sessions
queueId
- The queue ID for the list of sessionspublic String toString()
toString
in class Object
Object.toString()
public ListSessionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()