Class DescribeCommunicationsResult
- java.lang.Object
-
- com.amazonaws.services.support.model.DescribeCommunicationsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeCommunicationsResult extends Object implements Serializable, Cloneable
The communications returned by the DescribeCommunications operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeCommunicationsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeCommunicationsResultclone()booleanequals(Object obj)List<Communication>getCommunications()The communications for the case.StringgetNextToken()A resumption point for pagination.inthashCode()voidsetCommunications(Collection<Communication> communications)The communications for the case.voidsetNextToken(String nextToken)A resumption point for pagination.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeCommunicationsResultwithCommunications(Communication... communications)The communications for the case.DescribeCommunicationsResultwithCommunications(Collection<Communication> communications)The communications for the case.DescribeCommunicationsResultwithNextToken(String nextToken)A resumption point for pagination.
-
-
-
Method Detail
-
getCommunications
public List<Communication> getCommunications()
The communications for the case.
- Returns:
- The communications for the case.
-
setCommunications
public void setCommunications(Collection<Communication> communications)
The communications for the case.
- Parameters:
communications- The communications for the case.
-
withCommunications
public DescribeCommunicationsResult withCommunications(Communication... communications)
The communications for the case.
NOTE: This method appends the values to the existing list (if any). Use
setCommunications(java.util.Collection)orwithCommunications(java.util.Collection)if you want to override the existing values.- Parameters:
communications- The communications for the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCommunications
public DescribeCommunicationsResult withCommunications(Collection<Communication> communications)
The communications for the case.
- Parameters:
communications- The communications for the case.- 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 DescribeCommunicationsResult 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 DescribeCommunicationsResult clone()
-
-