@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, setSdkResponseMetadatapublic 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 ObjectObject.toString()public ListListenersResult clone()
Copyright © 2023. All rights reserved.