@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListListenersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListListenersResult() |
Modifier and Type | Method and Description |
---|---|
ListListenersResult |
clone() |
boolean |
equals(Object obj) |
List<ListenerSummary> |
getItems()
Information about the listeners.
|
String |
getNextToken()
If there are additional results, a pagination token for the next page of results.
|
int |
hashCode() |
void |
setItems(Collection<ListenerSummary> items)
Information about the listeners.
|
void |
setNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListListenersResult |
withItems(Collection<ListenerSummary> items)
Information about the listeners.
|
ListListenersResult |
withItems(ListenerSummary... items)
Information about the listeners.
|
ListListenersResult |
withNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ListenerSummary> getItems()
Information about the listeners.
public void setItems(Collection<ListenerSummary> items)
Information about the listeners.
items
- Information about the listeners.public ListListenersResult withItems(ListenerSummary... items)
Information about the listeners.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- Information about the listeners.public ListListenersResult withItems(Collection<ListenerSummary> items)
Information about the listeners.
items
- Information about the listeners.public void setNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
nextToken
- If there are additional results, a pagination token for the next page of results.public String getNextToken()
If there are additional results, a pagination token for the next page of results.
public ListListenersResult withNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
nextToken
- If there are additional results, a pagination token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListListenersResult clone()