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
NextToken
that 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 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; 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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeCasesResult clone()
-
-