public class DescribeCommunicationsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The communications returned by the DescribeCommunications operation.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Communication> |
communications
The communications for the case.
|
private java.lang.String |
nextToken
A resumption point for pagination.
|
Constructor and Description |
---|
DescribeCommunicationsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCommunicationsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Communication> |
getCommunications()
The communications for the case.
|
java.lang.String |
getNextToken()
A resumption point for pagination.
|
int |
hashCode() |
void |
setCommunications(java.util.Collection<Communication> communications)
The communications for 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.
|
DescribeCommunicationsResult |
withCommunications(java.util.Collection<Communication> communications)
The communications for the case.
|
DescribeCommunicationsResult |
withCommunications(Communication... communications)
The communications for the case.
|
DescribeCommunicationsResult |
withNextToken(java.lang.String nextToken)
A resumption point for pagination.
|
private SdkInternalList<Communication> communications
The communications for the case.
private java.lang.String nextToken
A resumption point for pagination.
public java.util.List<Communication> getCommunications()
The communications for the case.
public void setCommunications(java.util.Collection<Communication> communications)
The communications for the case.
communications
- The communications for the case.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)
or
withCommunications(java.util.Collection)
if you want to override
the existing values.
communications
- The communications for the case.public DescribeCommunicationsResult withCommunications(java.util.Collection<Communication> communications)
The communications for the case.
communications
- The communications for 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 DescribeCommunicationsResult 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 DescribeCommunicationsResult clone()
clone
in class java.lang.Object