public class DescribeCasesResult extends Object implements Serializable
Returns an array of CaseDetails objects and a NextToken
that defines a point for pagination in the result set.
Constructor and Description |
---|
DescribeCasesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<CaseDetails> |
getCases()
The details for the cases that match the request.
|
String |
getNextToken()
A resumption point for pagination.
|
int |
hashCode() |
void |
setCases(Collection<CaseDetails> cases)
The details for the cases that match the request.
|
void |
setNextToken(String nextToken)
A resumption point for pagination.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCasesResult |
withCases(CaseDetails... cases)
The details for the cases that match the request.
|
DescribeCasesResult |
withCases(Collection<CaseDetails> cases)
The details for the cases that match the request.
|
DescribeCasesResult |
withNextToken(String nextToken)
A resumption point for pagination.
|
public List<CaseDetails> getCases()
public void setCases(Collection<CaseDetails> cases)
cases
- The details for the cases that match the request.public DescribeCasesResult withCases(CaseDetails... cases)
Returns a reference to this object so that method calls can be chained together.
cases
- The details for the cases that match the request.public DescribeCasesResult withCases(Collection<CaseDetails> cases)
Returns a reference to this object so that method calls can be chained together.
cases
- The details for the cases that match the request.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- A resumption point for pagination.public DescribeCasesResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- A resumption point for pagination.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.