public class RecentCaseCommunications
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The five most recent communications associated with the case.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Communication> |
communications
The five most recent communications associated with the case.
|
private java.lang.String |
nextToken
A resumption point for pagination.
|
Constructor and Description |
---|
RecentCaseCommunications() |
Modifier and Type | Method and Description |
---|---|
RecentCaseCommunications |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Communication> |
getCommunications()
The five most recent communications associated with the case.
|
java.lang.String |
getNextToken()
A resumption point for pagination.
|
int |
hashCode() |
void |
setCommunications(java.util.Collection<Communication> communications)
The five most recent communications associated with the case.
|
void |
setNextToken(java.lang.String nextToken)
A resumption point for pagination.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RecentCaseCommunications |
withCommunications(java.util.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(java.lang.String nextToken)
A resumption point for pagination.
|
private SdkInternalList<Communication> communications
The five most recent communications associated with the case.
private java.lang.String nextToken
A resumption point for pagination.
public java.util.List<Communication> getCommunications()
The five most recent communications associated with the case.
public void setCommunications(java.util.Collection<Communication> communications)
The five most recent communications associated with the case.
communications
- The five most recent communications associated with the case.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)
or
withCommunications(java.util.Collection)
if you want to override
the existing values.
communications
- The five most recent communications associated with the case.public RecentCaseCommunications withCommunications(java.util.Collection<Communication> communications)
The five most recent communications associated with the case.
communications
- The five most recent communications associated with the case.public void setNextToken(java.lang.String nextToken)
A resumption point for pagination.
nextToken
- A resumption point for pagination.public java.lang.String getNextToken()
A resumption point for pagination.
public RecentCaseCommunications withNextToken(java.lang.String nextToken)
A resumption point for pagination.
nextToken
- A resumption point for pagination.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RecentCaseCommunications clone()
clone
in class java.lang.Object