public class RecentCaseCommunications extends Object implements Serializable, Cloneable
The five most recent communications associated with the case.
| Constructor and Description |
|---|
RecentCaseCommunications() |
| Modifier and Type | Method and 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(Collection<Communication> communications)
The five most recent communications associated with the case.
|
RecentCaseCommunications |
withCommunications(Communication... communications)
The five most recent communications associated with the case.
|
RecentCaseCommunications |
withNextToken(String nextToken)
A resumption point for pagination.
|
public List<Communication> getCommunications()
public void setCommunications(Collection<Communication> communications)
communications - The five most recent communications associated with the case.public RecentCaseCommunications withCommunications(Communication... communications)
NOTE: This method appends the values to the existing list (if
any). Use setCommunications(java.util.Collection) or withCommunications(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
communications - The five most recent communications associated with the case.public RecentCaseCommunications withCommunications(Collection<Communication> communications)
Returns a reference to this object so that method calls can be chained together.
communications - The five most recent communications associated with the case.public String getNextToken()
public void setNextToken(String nextToken)
nextToken - A resumption point for pagination.public RecentCaseCommunications withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - A resumption point for pagination.public String toString()
toString in class ObjectObject.toString()public RecentCaseCommunications clone()
Copyright © 2015. All rights reserved.