public class ListPoliciesResult
extends java.lang.Object
implements java.io.Serializable
The output from the ListPolicies operation.
Constructor and Description |
---|
ListPoliciesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextMarker()
The marker for the next set of results, or null if there are no
additional results.
|
java.util.List<Policy> |
getPolicies()
The descriptions of the policies.
|
int |
hashCode() |
void |
setNextMarker(java.lang.String nextMarker)
The marker for the next set of results, or null if there are no
additional results.
|
void |
setPolicies(java.util.Collection<Policy> policies)
The descriptions of the policies.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPoliciesResult |
withNextMarker(java.lang.String nextMarker)
The marker for the next set of results, or null if there are no
additional results.
|
ListPoliciesResult |
withPolicies(java.util.Collection<Policy> policies)
The descriptions of the policies.
|
ListPoliciesResult |
withPolicies(Policy... policies)
The descriptions of the policies.
|
public java.util.List<Policy> getPolicies()
The descriptions of the policies.
The descriptions of the policies.
public void setPolicies(java.util.Collection<Policy> policies)
The descriptions of the policies.
policies
- The descriptions of the policies.
public ListPoliciesResult withPolicies(Policy... policies)
The descriptions of the policies.
Returns a reference to this object so that method calls can be chained together.
policies
- The descriptions of the policies.
public ListPoliciesResult withPolicies(java.util.Collection<Policy> policies)
The descriptions of the policies.
Returns a reference to this object so that method calls can be chained together.
policies
- The descriptions of the policies.
public java.lang.String getNextMarker()
The marker for the next set of results, or null if there are no additional results.
Constraints:
Length: - 1024
Pattern: [A-Za-z0-9+/]+={0,2}
The marker for the next set of results, or null if there are no additional results.
public void setNextMarker(java.lang.String nextMarker)
The marker for the next set of results, or null if there are no additional results.
Constraints:
Length: - 1024
Pattern: [A-Za-z0-9+/]+={0,2}
nextMarker
- The marker for the next set of results, or null if there are no additional results.
public ListPoliciesResult withNextMarker(java.lang.String nextMarker)
The marker for the next set of results, or null if there are no additional 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
- The marker for the next set of results, or null if there are no additional 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.