@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAttachedPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAttachedPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
ListAttachedPoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextMarker()
The token to retrieve the next set of results, or ``null`` if there are no more results.
|
List<Policy> |
getPolicies()
The policies.
|
int |
hashCode() |
void |
setNextMarker(String nextMarker)
The token to retrieve the next set of results, or ``null`` if there are no more results.
|
void |
setPolicies(Collection<Policy> policies)
The policies.
|
String |
toString()
Returns a string representation of this object.
|
ListAttachedPoliciesResult |
withNextMarker(String nextMarker)
The token to retrieve the next set of results, or ``null`` if there are no more results.
|
ListAttachedPoliciesResult |
withPolicies(Collection<Policy> policies)
The policies.
|
ListAttachedPoliciesResult |
withPolicies(Policy... policies)
The policies.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicies(Collection<Policy> policies)
The policies.
policies
- The policies.public ListAttachedPoliciesResult withPolicies(Policy... policies)
The policies.
NOTE: This method appends the values to the existing list (if any). Use
setPolicies(java.util.Collection)
or withPolicies(java.util.Collection)
if you want to override
the existing values.
policies
- The policies.public ListAttachedPoliciesResult withPolicies(Collection<Policy> policies)
The policies.
policies
- The policies.public void setNextMarker(String nextMarker)
The token to retrieve the next set of results, or ``null`` if there are no more results.
nextMarker
- The token to retrieve the next set of results, or ``null`` if there are no more results.public String getNextMarker()
The token to retrieve the next set of results, or ``null`` if there are no more results.
public ListAttachedPoliciesResult withNextMarker(String nextMarker)
The token to retrieve the next set of results, or ``null`` if there are no more results.
nextMarker
- The token to retrieve the next set of results, or ``null`` if there are no more results.public String toString()
toString
in class Object
Object.toString()
public ListAttachedPoliciesResult clone()