@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCasesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
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 |
---|---|
DescribeCasesResult |
clone() |
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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CaseDetails> getCases()
The details for the cases that match the request.
public void setCases(Collection<CaseDetails> cases)
The details for the cases that match the request.
cases
- The details for the cases that match the request.public DescribeCasesResult withCases(CaseDetails... cases)
The details for the cases that match the request.
NOTE: This method appends the values to the existing list (if any). Use
setCases(java.util.Collection)
or withCases(java.util.Collection)
if you want to override the
existing values.
cases
- The details for the cases that match the request.public DescribeCasesResult withCases(Collection<CaseDetails> cases)
The details for the cases that match the request.
cases
- The details for the cases that match the request.public void setNextToken(String nextToken)
A resumption point for pagination.
nextToken
- A resumption point for pagination.public String getNextToken()
A resumption point for pagination.
public DescribeCasesResult withNextToken(String nextToken)
A resumption point for pagination.
nextToken
- A resumption point for pagination.public String toString()
toString
in class Object
Object.toString()
public DescribeCasesResult clone()