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