Class RecentCaseCommunications
- java.lang.Object
-
- com.amazonaws.services.support.model.RecentCaseCommunications
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RecentCaseCommunications extends Object implements Serializable, Cloneable
The five most recent communications associated with the case.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecentCaseCommunications()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecentCaseCommunications
clone()
boolean
equals(Object obj)
List<Communication>
getCommunications()
The five most recent communications associated with the case.String
getNextToken()
A resumption point for pagination.int
hashCode()
void
setCommunications(Collection<Communication> communications)
The five most recent communications associated with the case.void
setNextToken(String nextToken)
A resumption point for pagination.String
toString()
Returns a string representation of this object; useful for testing and debugging.RecentCaseCommunications
withCommunications(Communication... communications)
The five most recent communications associated with the case.RecentCaseCommunications
withCommunications(Collection<Communication> communications)
The five most recent communications associated with the case.RecentCaseCommunications
withNextToken(String nextToken)
A resumption point for pagination.
-
-
-
Method Detail
-
getCommunications
public List<Communication> getCommunications()
The five most recent communications associated with the case.
- Returns:
- The five most recent communications associated with the case.
-
setCommunications
public void setCommunications(Collection<Communication> communications)
The five most recent communications associated with the case.
- Parameters:
communications
- The five most recent communications associated with the case.
-
withCommunications
public RecentCaseCommunications withCommunications(Communication... communications)
The five most recent communications associated with 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 five most recent communications associated with the case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCommunications
public RecentCaseCommunications withCommunications(Collection<Communication> communications)
The five most recent communications associated with the case.
- Parameters:
communications
- The five most recent communications associated with 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 RecentCaseCommunications 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 RecentCaseCommunications clone()
-
-