@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCommunicationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The communications returned by the DescribeCommunications operation.
Constructor and Description |
---|
DescribeCommunicationsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCommunicationsResult |
clone() |
boolean |
equals(Object obj) |
List<Communication> |
getCommunications()
The communications for the case.
|
String |
getNextToken()
A resumption point for pagination.
|
int |
hashCode() |
void |
setCommunications(Collection<Communication> communications)
The communications for 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.
|
DescribeCommunicationsResult |
withCommunications(Collection<Communication> communications)
The communications for the case.
|
DescribeCommunicationsResult |
withCommunications(Communication... communications)
The communications for the case.
|
DescribeCommunicationsResult |
withNextToken(String nextToken)
A resumption point for pagination.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Communication> getCommunications()
The communications for the case.
public void setCommunications(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(Collection<Communication> communications)
The communications for the case.
communications
- The communications for 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 DescribeCommunicationsResult withNextToken(String nextToken)
A resumption point for pagination.
nextToken
- A resumption point for pagination.public String toString()
toString
in class Object
Object.toString()
public DescribeCommunicationsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.