@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEndpointGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEndpointGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListEndpointGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<EndpointGroup> |
getEndpointGroups()
The list of the endpoint groups associated with a listener.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setEndpointGroups(Collection<EndpointGroup> endpointGroups)
The list of the endpoint groups associated with a listener.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListEndpointGroupsResult |
withEndpointGroups(Collection<EndpointGroup> endpointGroups)
The list of the endpoint groups associated with a listener.
|
ListEndpointGroupsResult |
withEndpointGroups(EndpointGroup... endpointGroups)
The list of the endpoint groups associated with a listener.
|
ListEndpointGroupsResult |
withNextToken(String nextToken)
The token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EndpointGroup> getEndpointGroups()
The list of the endpoint groups associated with a listener.
public void setEndpointGroups(Collection<EndpointGroup> endpointGroups)
The list of the endpoint groups associated with a listener.
endpointGroups
- The list of the endpoint groups associated with a listener.public ListEndpointGroupsResult withEndpointGroups(EndpointGroup... endpointGroups)
The list of the endpoint groups associated with a listener.
NOTE: This method appends the values to the existing list (if any). Use
setEndpointGroups(java.util.Collection)
or withEndpointGroups(java.util.Collection)
if you want
to override the existing values.
endpointGroups
- The list of the endpoint groups associated with a listener.public ListEndpointGroupsResult withEndpointGroups(Collection<EndpointGroup> endpointGroups)
The list of the endpoint groups associated with a listener.
endpointGroups
- The list of the endpoint groups associated with a listener.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 ListEndpointGroupsResult 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 ListEndpointGroupsResult clone()