@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTargetGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListTargetGroupsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTargetGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<TargetGroupSummary> |
getItems()
Information about the target groups.
|
String |
getNextToken()
If there are additional results, a pagination token for the next page of results.
|
int |
hashCode() |
void |
setItems(Collection<TargetGroupSummary> items)
Information about the target groups.
|
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.
|
ListTargetGroupsResult |
withItems(Collection<TargetGroupSummary> items)
Information about the target groups.
|
ListTargetGroupsResult |
withItems(TargetGroupSummary... items)
Information about the target groups.
|
ListTargetGroupsResult |
withNextToken(String nextToken)
If there are additional results, a pagination token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<TargetGroupSummary> getItems()
Information about the target groups.
public void setItems(Collection<TargetGroupSummary> items)
Information about the target groups.
items - Information about the target groups.public ListTargetGroupsResult withItems(TargetGroupSummary... items)
Information about the target groups.
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 target groups.public ListTargetGroupsResult withItems(Collection<TargetGroupSummary> items)
Information about the target groups.
items - Information about the target groups.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 ListTargetGroupsResult 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 ListTargetGroupsResult clone()