Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.support.model
Class DescribeCommunicationsResult

java.lang.Object
  extended by com.amazonaws.services.support.model.DescribeCommunicationsResult
All Implemented Interfaces:
Serializable

public class DescribeCommunicationsResult
extends Object
implements Serializable

Returns the objects or data listed below if successful. Otherwise, returns an error.

See Also:
Serialized Form

Constructor Summary
DescribeCommunicationsResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeCommunicationsResult

public DescribeCommunicationsResult()
Method Detail

getCommunications

public List<Communication> getCommunications()
Contains a list of Communications objects.

Returns:
Contains a list of Communications objects.

setCommunications

public void setCommunications(Collection<Communication> communications)
Contains a list of Communications objects.

Parameters:
communications - Contains a list of Communications objects.

withCommunications

public DescribeCommunicationsResult withCommunications(Communication... communications)
Contains a list of Communications objects.

Returns a reference to this object so that method calls can be chained together.

Parameters:
communications - Contains a list of Communications objects.
Returns:
A reference to this updated object so that method calls can be chained together.

withCommunications

public DescribeCommunicationsResult withCommunications(Collection<Communication> communications)
Contains a list of Communications objects.

Returns a reference to this object so that method calls can be chained together.

Parameters:
communications - Contains a list of Communications objects.
Returns:
A reference to this updated object so that method calls can be chained together.

getNextToken

public String getNextToken()
Defines a resumption point for pagination.

Returns:
Defines a resumption point for pagination.

setNextToken

public void setNextToken(String nextToken)
Defines a resumption point for pagination.

Parameters:
nextToken - Defines a resumption point for pagination.

withNextToken

public DescribeCommunicationsResult withNextToken(String nextToken)
Defines a resumption point for pagination.

Returns a reference to this object so that method calls can be chained together.

Parameters:
nextToken - Defines a resumption point for pagination.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.