Class DescribeCasesResult
- java.lang.Object
-
- com.amazonaws.services.support.model.DescribeCasesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeCasesResult extends Object implements Serializable, Cloneable
Returns an array of CaseDetails objects and a
NextTokenthat defines a point for pagination in the result set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeCasesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeCasesResultclone()booleanequals(Object obj)List<CaseDetails>getCases()The details for the cases that match the request.StringgetNextToken()A resumption point for pagination.inthashCode()voidsetCases(Collection<CaseDetails> cases)The details for the cases that match the request.voidsetNextToken(String nextToken)A resumption point for pagination.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeCasesResultwithCases(CaseDetails... cases)The details for the cases that match the request.DescribeCasesResultwithCases(Collection<CaseDetails> cases)The details for the cases that match the request.DescribeCasesResultwithNextToken(String nextToken)A resumption point for pagination.
-
-
-
Method Detail
-
getCases
public List<CaseDetails> getCases()
The details for the cases that match the request.
- Returns:
- The details for the cases that match the request.
-
setCases
public void setCases(Collection<CaseDetails> cases)
The details for the cases that match the request.
- Parameters:
cases- The details for the cases that match the request.
-
withCases
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)orwithCases(java.util.Collection)if you want to override the existing values.- Parameters:
cases- The details for the cases that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCases
public DescribeCasesResult withCases(Collection<CaseDetails> cases)
The details for the cases that match the request.
- Parameters:
cases- The details for the cases that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
A resumption point for pagination.
- Parameters:
nextToken- A resumption point for pagination.
-
getNextToken
public String getNextToken()
A resumption point for pagination.
- Returns:
- A resumption point for pagination.
-
withNextToken
public DescribeCasesResult withNextToken(String nextToken)
A resumption point for pagination.
- Parameters:
nextToken- A resumption point for pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeCasesResult clone()
-
-