@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<Listener> |
getListeners()
The list of listeners for an accelerator.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setListeners(Collection<Listener> listeners)
The list of listeners for an accelerator.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListListenersResult |
withListeners(Collection<Listener> listeners)
The list of listeners for an accelerator.
|
ListListenersResult |
withListeners(Listener... listeners)
The list of listeners for an accelerator.
|
ListListenersResult |
withNextToken(String nextToken)
The token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Listener> getListeners()
The list of listeners for an accelerator.
public void setListeners(Collection<Listener> listeners)
The list of listeners for an accelerator.
listeners
- The list of listeners for an accelerator.public ListListenersResult withListeners(Listener... listeners)
The list of listeners for an accelerator.
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
- The list of listeners for an accelerator.public ListListenersResult withListeners(Collection<Listener> listeners)
The list of listeners for an accelerator.
listeners
- The list of listeners for an accelerator.public void setNextToken(String nextToken)
The token for the next set of results. You receive this token from a previous call.
nextToken
- The token for the next set of results. You receive this token from a previous call.public String getNextToken()
The token for the next set of results. You receive this token from a previous call.
public ListListenersResult withNextToken(String nextToken)
The token for the next set of results. You receive this token from a previous call.
nextToken
- The token for the next set of results. You receive this token from a previous call.public String toString()
toString
in class Object
Object.toString()
public ListListenersResult clone()