@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTargetsForPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTargetsForPolicyResult() |
Modifier and Type | Method and Description |
---|---|
ListTargetsForPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextMarker()
A marker used to get the next set of results.
|
List<String> |
getTargets()
The policy targets.
|
int |
hashCode() |
void |
setNextMarker(String nextMarker)
A marker used to get the next set of results.
|
void |
setTargets(Collection<String> targets)
The policy targets.
|
String |
toString()
Returns a string representation of this object.
|
ListTargetsForPolicyResult |
withNextMarker(String nextMarker)
A marker used to get the next set of results.
|
ListTargetsForPolicyResult |
withTargets(Collection<String> targets)
The policy targets.
|
ListTargetsForPolicyResult |
withTargets(String... targets)
The policy targets.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTargets(Collection<String> targets)
The policy targets.
targets
- The policy targets.public ListTargetsForPolicyResult withTargets(String... targets)
The policy 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 policy targets.public ListTargetsForPolicyResult withTargets(Collection<String> targets)
The policy targets.
targets
- The policy targets.public void setNextMarker(String nextMarker)
A marker used to get the next set of results.
nextMarker
- A marker used to get the next set of results.public String getNextMarker()
A marker used to get the next set of results.
public ListTargetsForPolicyResult withNextMarker(String nextMarker)
A marker used to get the next set of results.
nextMarker
- A marker used to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListTargetsForPolicyResult clone()