@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCustomRoutingListenersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCustomRoutingListenersResult() |
Modifier and Type | Method and Description |
---|---|
ListCustomRoutingListenersResult |
clone() |
boolean |
equals(Object obj) |
List<CustomRoutingListener> |
getListeners()
The list of listeners for a custom routing accelerator.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setListeners(Collection<CustomRoutingListener> listeners)
The list of listeners for a custom routing accelerator.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListCustomRoutingListenersResult |
withListeners(Collection<CustomRoutingListener> listeners)
The list of listeners for a custom routing accelerator.
|
ListCustomRoutingListenersResult |
withListeners(CustomRoutingListener... listeners)
The list of listeners for a custom routing accelerator.
|
ListCustomRoutingListenersResult |
withNextToken(String nextToken)
The token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CustomRoutingListener> getListeners()
The list of listeners for a custom routing accelerator.
public void setListeners(Collection<CustomRoutingListener> listeners)
The list of listeners for a custom routing accelerator.
listeners
- The list of listeners for a custom routing accelerator.public ListCustomRoutingListenersResult withListeners(CustomRoutingListener... listeners)
The list of listeners for a custom routing 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 a custom routing accelerator.public ListCustomRoutingListenersResult withListeners(Collection<CustomRoutingListener> listeners)
The list of listeners for a custom routing accelerator.
listeners
- The list of listeners for a custom routing 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 ListCustomRoutingListenersResult 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 ListCustomRoutingListenersResult clone()