@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTargetGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTargetGroupsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTargetGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextMarker()
If there are additional results, this is the marker for the next set of results.
|
List<TargetGroup> |
getTargetGroups()
Information about the target groups.
|
int |
hashCode() |
void |
setNextMarker(String nextMarker)
If there are additional results, this is the marker for the next set of results.
|
void |
setTargetGroups(Collection<TargetGroup> targetGroups)
Information about the target groups.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTargetGroupsResult |
withNextMarker(String nextMarker)
If there are additional results, this is the marker for the next set of results.
|
DescribeTargetGroupsResult |
withTargetGroups(Collection<TargetGroup> targetGroups)
Information about the target groups.
|
DescribeTargetGroupsResult |
withTargetGroups(TargetGroup... targetGroups)
Information about the target groups.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TargetGroup> getTargetGroups()
Information about the target groups.
public void setTargetGroups(Collection<TargetGroup> targetGroups)
Information about the target groups.
targetGroups
- Information about the target groups.public DescribeTargetGroupsResult withTargetGroups(TargetGroup... targetGroups)
Information about the target groups.
NOTE: This method appends the values to the existing list (if any). Use
setTargetGroups(java.util.Collection)
or withTargetGroups(java.util.Collection)
if you want to
override the existing values.
targetGroups
- Information about the target groups.public DescribeTargetGroupsResult withTargetGroups(Collection<TargetGroup> targetGroups)
Information about the target groups.
targetGroups
- Information about the target groups.public void setNextMarker(String nextMarker)
If there are additional results, this is the marker for the next set of results. Otherwise, this is null.
nextMarker
- If there are additional results, this is the marker for the next set of results. Otherwise, this is null.public String getNextMarker()
If there are additional results, this is the marker for the next set of results. Otherwise, this is null.
public DescribeTargetGroupsResult withNextMarker(String nextMarker)
If there are additional results, this is the marker for the next set of results. Otherwise, this is null.
nextMarker
- If there are additional results, this is the marker for the next set of results. Otherwise, this is null.public String toString()
toString
in class Object
Object.toString()
public DescribeTargetGroupsResult clone()