@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPolicyVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output from the ListPolicyVersions operation.
Constructor and Description |
---|
ListPolicyVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListPolicyVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<PolicyVersion> |
getPolicyVersions()
The policy versions.
|
int |
hashCode() |
void |
setPolicyVersions(Collection<PolicyVersion> policyVersions)
The policy versions.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListPolicyVersionsResult |
withPolicyVersions(Collection<PolicyVersion> policyVersions)
The policy versions.
|
ListPolicyVersionsResult |
withPolicyVersions(PolicyVersion... policyVersions)
The policy versions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PolicyVersion> getPolicyVersions()
The policy versions.
public void setPolicyVersions(Collection<PolicyVersion> policyVersions)
The policy versions.
policyVersions
- The policy versions.public ListPolicyVersionsResult withPolicyVersions(PolicyVersion... policyVersions)
The policy versions.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyVersions(java.util.Collection)
or withPolicyVersions(java.util.Collection)
if you want
to override the existing values.
policyVersions
- The policy versions.public ListPolicyVersionsResult withPolicyVersions(Collection<PolicyVersion> policyVersions)
The policy versions.
policyVersions
- The policy versions.public String toString()
toString
in class Object
Object.toString()
public ListPolicyVersionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.