public class DescribeCommunicationsResult extends Object implements Serializable
Returns the objects or data listed below if successful. Otherwise, returns an error.
Constructor and Description |
---|
DescribeCommunicationsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Communication> |
getCommunications()
Contains a list of Communications objects.
|
String |
getNextToken()
Defines a resumption point for pagination.
|
int |
hashCode() |
void |
setCommunications(Collection<Communication> communications)
Contains a list of Communications objects.
|
void |
setNextToken(String nextToken)
Defines a resumption point for pagination.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeCommunicationsResult |
withCommunications(Collection<Communication> communications)
Contains a list of Communications objects.
|
DescribeCommunicationsResult |
withCommunications(Communication... communications)
Contains a list of Communications objects.
|
DescribeCommunicationsResult |
withNextToken(String nextToken)
Defines a resumption point for pagination.
|
public List<Communication> getCommunications()
public void setCommunications(Collection<Communication> communications)
communications
- Contains a list of Communications objects.public DescribeCommunicationsResult withCommunications(Communication... communications)
Returns a reference to this object so that method calls can be chained together.
communications
- Contains a list of Communications objects.public DescribeCommunicationsResult withCommunications(Collection<Communication> communications)
Returns a reference to this object so that method calls can be chained together.
communications
- Contains a list of Communications objects.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- Defines 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
- Defines a resumption point for pagination.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.