@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPolicyGenerationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListPolicyGenerationsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListPolicyGenerationsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token used for pagination of results returned.
|
List<PolicyGeneration> |
getPolicyGenerations()
A
PolicyGeneration object that contains details about the generated policy. |
int |
hashCode() |
void |
setNextToken(String nextToken)
A token used for pagination of results returned.
|
void |
setPolicyGenerations(Collection<PolicyGeneration> policyGenerations)
A
PolicyGeneration object that contains details about the generated policy. |
String |
toString()
Returns a string representation of this object.
|
ListPolicyGenerationsResult |
withNextToken(String nextToken)
A token used for pagination of results returned.
|
ListPolicyGenerationsResult |
withPolicyGenerations(Collection<PolicyGeneration> policyGenerations)
A
PolicyGeneration object that contains details about the generated policy. |
ListPolicyGenerationsResult |
withPolicyGenerations(PolicyGeneration... policyGenerations)
A
PolicyGeneration object that contains details about the generated policy. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<PolicyGeneration> getPolicyGenerations()
A PolicyGeneration object that contains details about the generated policy.
PolicyGeneration object that contains details about the generated policy.public void setPolicyGenerations(Collection<PolicyGeneration> policyGenerations)
A PolicyGeneration object that contains details about the generated policy.
policyGenerations - A PolicyGeneration object that contains details about the generated policy.public ListPolicyGenerationsResult withPolicyGenerations(PolicyGeneration... policyGenerations)
A PolicyGeneration object that contains details about the generated policy.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyGenerations(java.util.Collection) or withPolicyGenerations(java.util.Collection) if
you want to override the existing values.
policyGenerations - A PolicyGeneration object that contains details about the generated policy.public ListPolicyGenerationsResult withPolicyGenerations(Collection<PolicyGeneration> policyGenerations)
A PolicyGeneration object that contains details about the generated policy.
policyGenerations - A PolicyGeneration object that contains details about the generated policy.public void setNextToken(String nextToken)
A token used for pagination of results returned.
nextToken - A token used for pagination of results returned.public String getNextToken()
A token used for pagination of results returned.
public ListPolicyGenerationsResult withNextToken(String nextToken)
A token used for pagination of results returned.
nextToken - A token used for pagination of results returned.public String toString()
toString in class ObjectObject.toString()public ListPolicyGenerationsResult clone()