@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) |
String |
getNextToken()
An enumeration token that can be used in a request to return the next batch of results.
|
List<TargetSummary> |
getTargets()
The list of notification rule targets.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of results.
|
void |
setTargets(Collection<TargetSummary> targets)
The list of notification rule targets.
|
String |
toString()
Returns a string representation of this object.
|
ListTargetsResult |
withNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of results.
|
ListTargetsResult |
withTargets(Collection<TargetSummary> targets)
The list of notification rule targets.
|
ListTargetsResult |
withTargets(TargetSummary... targets)
The list of notification rule targets.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TargetSummary> getTargets()
The list of notification rule targets.
public void setTargets(Collection<TargetSummary> targets)
The list of notification rule targets.
targets
- The list of notification rule targets.public ListTargetsResult withTargets(TargetSummary... targets)
The list of notification rule targets.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- The list of notification rule targets.public ListTargetsResult withTargets(Collection<TargetSummary> targets)
The list of notification rule targets.
targets
- The list of notification rule targets.public void setNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of results.
nextToken
- An enumeration token that can be used in a request to return the next batch of results.public String getNextToken()
An enumeration token that can be used in a request to return the next batch of results.
public ListTargetsResult withNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of results.
nextToken
- An enumeration token that can be used in a request to return the next batch of results.public String toString()
toString
in class Object
Object.toString()
public ListTargetsResult clone()