public class DescribeCommunicationsResult extends Object implements Serializable
Contains the following objects or data if successful. Otherwise, returns an error.
Constructor and Description |
---|
DescribeCommunicationsResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public List<Communication> getCommunications()
public void setCommunications(Collection<Communication> communications)
communications
- The communications for the case.public DescribeCommunicationsResult withCommunications(Communication... communications)
Returns a reference to this object so that method calls can be chained together.
communications
- The communications for the case.public DescribeCommunicationsResult withCommunications(Collection<Communication> communications)
Returns a reference to this object so that method calls can be chained together.
communications
- The communications for the case.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- A resumption point for pagination.public DescribeCommunicationsResult 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 Object
Object.toString()
Copyright © 2014. All rights reserved.