@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecentCaseCommunications extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
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()
The five most recent communications associated with the case.
public void setCommunications(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(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(String nextToken)
A resumption point for pagination.
nextToken - A resumption point for pagination.public String getNextToken()
A resumption point for pagination.
public RecentCaseCommunications withNextToken(String nextToken)
A resumption point for pagination.
nextToken - A resumption point for pagination.public String toString()
toString in class ObjectObject.toString()public RecentCaseCommunications clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.