public class DescribeListenersResult extends Object implements Serializable, Cloneable
Contains the output of DescribeListeners.
| Constructor and Description |
|---|
DescribeListenersResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeListenersResult |
clone() |
boolean |
equals(Object obj) |
List<Listener> |
getListeners()
Information about the listeners.
|
String |
getNextMarker()
The marker to use when requesting the next set of results.
|
int |
hashCode() |
void |
setListeners(Collection<Listener> listeners)
Information about the listeners.
|
void |
setNextMarker(String nextMarker)
The marker to use when requesting the next set of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeListenersResult |
withListeners(Collection<Listener> listeners)
Information about the listeners.
|
DescribeListenersResult |
withListeners(Listener... listeners)
Information about the listeners.
|
DescribeListenersResult |
withNextMarker(String nextMarker)
The marker to use when requesting the next set of results.
|
public List<Listener> getListeners()
Information about the listeners.
public void setListeners(Collection<Listener> listeners)
Information about the listeners.
listeners - Information about the listeners.public DescribeListenersResult withListeners(Listener... listeners)
Information about the listeners.
NOTE: This method appends the values to the existing list (if
any). Use setListeners(java.util.Collection) or
withListeners(java.util.Collection) if you want to override the
existing values.
listeners - Information about the listeners.public DescribeListenersResult withListeners(Collection<Listener> listeners)
Information about the listeners.
listeners - Information about the listeners.public void setNextMarker(String nextMarker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
nextMarker - The marker to use when requesting the next set of results. If
there are no additional results, the string is empty.public String getNextMarker()
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
public DescribeListenersResult withNextMarker(String nextMarker)
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
nextMarker - The marker to use when requesting the next set of results. If
there are no additional results, the string is empty.public String toString()
toString in class ObjectObject.toString()public DescribeListenersResult clone()
Copyright © 2016. All rights reserved.