@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPrincipalPoliciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output from the ListPrincipalPolicies operation.
| Constructor and Description |
|---|
ListPrincipalPoliciesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListPrincipalPoliciesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextMarker()
The marker for the next set of results, or null if there are no additional results.
|
List<Policy> |
getPolicies()
The policies.
|
int |
hashCode() |
void |
setNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no additional results.
|
void |
setPolicies(Collection<Policy> policies)
The policies.
|
String |
toString()
Returns a string representation of this object.
|
ListPrincipalPoliciesResult |
withNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no additional results.
|
ListPrincipalPoliciesResult |
withPolicies(Collection<Policy> policies)
The policies.
|
ListPrincipalPoliciesResult |
withPolicies(Policy... policies)
The policies.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPolicies(Collection<Policy> policies)
The policies.
policies - The policies.public ListPrincipalPoliciesResult 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 ListPrincipalPoliciesResult withPolicies(Collection<Policy> policies)
The policies.
policies - The policies.public void setNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no additional results.
nextMarker - The marker for the next set of results, or null if there are no additional results.public String getNextMarker()
The marker for the next set of results, or null if there are no additional results.
public ListPrincipalPoliciesResult withNextMarker(String nextMarker)
The marker for the next set of results, or null if there are no additional results.
nextMarker - The marker for the next set of results, or null if there are no additional results.public String toString()
toString in class ObjectObject.toString()public ListPrincipalPoliciesResult clone()