@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTestGridSessionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| ListTestGridSessionsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListTestGridSessionsResult | clone() | 
| boolean | equals(Object obj) | 
| String | getNextToken()
 Pagination token. | 
| List<TestGridSession> | getTestGridSessions()
 The sessions that match the criteria in a ListTestGridSessionsRequest. | 
| int | hashCode() | 
| void | setNextToken(String nextToken)
 Pagination token. | 
| void | setTestGridSessions(Collection<TestGridSession> testGridSessions)
 The sessions that match the criteria in a ListTestGridSessionsRequest. | 
| String | toString()Returns a string representation of this object. | 
| ListTestGridSessionsResult | withNextToken(String nextToken)
 Pagination token. | 
| ListTestGridSessionsResult | withTestGridSessions(Collection<TestGridSession> testGridSessions)
 The sessions that match the criteria in a ListTestGridSessionsRequest. | 
| ListTestGridSessionsResult | withTestGridSessions(TestGridSession... testGridSessions)
 The sessions that match the criteria in a ListTestGridSessionsRequest. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<TestGridSession> getTestGridSessions()
The sessions that match the criteria in a ListTestGridSessionsRequest.
public void setTestGridSessions(Collection<TestGridSession> testGridSessions)
The sessions that match the criteria in a ListTestGridSessionsRequest.
testGridSessions - The sessions that match the criteria in a ListTestGridSessionsRequest.public ListTestGridSessionsResult withTestGridSessions(TestGridSession... testGridSessions)
The sessions that match the criteria in a ListTestGridSessionsRequest.
 NOTE: This method appends the values to the existing list (if any). Use
 setTestGridSessions(java.util.Collection) or withTestGridSessions(java.util.Collection) if you
 want to override the existing values.
 
testGridSessions - The sessions that match the criteria in a ListTestGridSessionsRequest.public ListTestGridSessionsResult withTestGridSessions(Collection<TestGridSession> testGridSessions)
The sessions that match the criteria in a ListTestGridSessionsRequest.
testGridSessions - The sessions that match the criteria in a ListTestGridSessionsRequest.public void setNextToken(String nextToken)
Pagination token.
nextToken - Pagination token.public String getNextToken()
Pagination token.
public ListTestGridSessionsResult withNextToken(String nextToken)
Pagination token.
nextToken - Pagination token.public String toString()
toString in class ObjectObject.toString()public ListTestGridSessionsResult clone()