public class ListTargetsForPolicyResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListTargetsForPolicyResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextMarker()
A marker used to get the next set of results.
|
java.util.List<java.lang.String> |
getTargets()
The policy targets.
|
int |
hashCode() |
void |
setNextMarker(java.lang.String nextMarker)
A marker used to get the next set of results.
|
void |
setTargets(java.util.Collection<java.lang.String> targets)
The policy targets.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTargetsForPolicyResult |
withNextMarker(java.lang.String nextMarker)
A marker used to get the next set of results.
|
ListTargetsForPolicyResult |
withTargets(java.util.Collection<java.lang.String> targets)
The policy targets.
|
ListTargetsForPolicyResult |
withTargets(java.lang.String... targets)
The policy targets.
|
public java.util.List<java.lang.String> getTargets()
The policy targets.
The policy targets.
public void setTargets(java.util.Collection<java.lang.String> targets)
The policy targets.
targets
- The policy targets.
public ListTargetsForPolicyResult withTargets(java.lang.String... targets)
The policy targets.
Returns a reference to this object so that method calls can be chained together.
targets
- The policy targets.
public ListTargetsForPolicyResult withTargets(java.util.Collection<java.lang.String> targets)
The policy targets.
Returns a reference to this object so that method calls can be chained together.
targets
- The policy targets.
public java.lang.String getNextMarker()
A marker used to get the next set of results.
Constraints:
Length: - 1024
Pattern: [A-Za-z0-9+/]+={0,2}
A marker used to get the next set of results.
public void setNextMarker(java.lang.String nextMarker)
A marker used to get the next set of results.
Constraints:
Length: - 1024
Pattern: [A-Za-z0-9+/]+={0,2}
nextMarker
- A marker used to get the next set of results.
public ListTargetsForPolicyResult withNextMarker(java.lang.String nextMarker)
A marker used to get the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 1024
Pattern: [A-Za-z0-9+/]+={0,2}
nextMarker
- A marker used to get the next set of results.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.