Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.support.model
Class DescribeCasesResult

java.lang.Object
  extended by com.amazonaws.services.support.model.DescribeCasesResult
All Implemented Interfaces:
Serializable

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.

See Also:
Serialized Form

Constructor Summary
DescribeCasesResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeCasesResult

public DescribeCasesResult()
Method Detail

getCases

public List<CaseDetails> getCases()
Array of CaseDetails objects.

Returns:
Array of CaseDetails objects.

setCases

public void setCases(Collection<CaseDetails> cases)
Array of CaseDetails objects.

Parameters:
cases - Array of CaseDetails objects.

withCases

public DescribeCasesResult withCases(CaseDetails... cases)
Array of CaseDetails objects.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cases - Array of CaseDetails objects.
Returns:
A reference to this updated object so that method calls can be chained together.

withCases

public DescribeCasesResult withCases(Collection<CaseDetails> cases)
Array of CaseDetails objects.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cases - Array of CaseDetails objects.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
Defines a resumption point for pagination.

Returns:
Defines a resumption point for pagination.

setNextToken

public void setNextToken(String nextToken)
Defines a resumption point for pagination.

Parameters:
nextToken - Defines a resumption point for pagination.

withNextToken

public DescribeCasesResult withNextToken(String nextToken)
Defines a resumption point for pagination.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nextToken - Defines a resumption point for pagination.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.