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()
Array of CaseDetails objects.
|
String |
getNextToken()
Defines a resumption point for pagination.
|
int |
hashCode() |
void |
setCases(Collection<CaseDetails> cases)
Array of CaseDetails objects.
|
void |
setNextToken(String nextToken)
Defines a resumption point for pagination.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCasesResult |
withCases(CaseDetails... cases)
Array of CaseDetails objects.
|
DescribeCasesResult |
withCases(Collection<CaseDetails> cases)
Array of CaseDetails objects.
|
DescribeCasesResult |
withNextToken(String nextToken)
Defines a resumption point for pagination.
|
public List<CaseDetails> getCases()
public void setCases(Collection<CaseDetails> cases)
cases
- Array of CaseDetails objects.public DescribeCasesResult withCases(CaseDetails... cases)
Returns a reference to this object so that method calls can be chained together.
cases
- Array of CaseDetails objects.public DescribeCasesResult withCases(Collection<CaseDetails> cases)
Returns a reference to this object so that method calls can be chained together.
cases
- Array of CaseDetails objects.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- Defines 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
- Defines a resumption point for pagination.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.