public class ListPolicyVersionsResult
extends java.lang.Object
implements java.io.Serializable
The output from the ListPolicyVersions operation.
Constructor and Description |
---|
ListPolicyVersionsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<PolicyVersion> |
getPolicyVersions()
The policy versions.
|
int |
hashCode() |
void |
setPolicyVersions(java.util.Collection<PolicyVersion> policyVersions)
The policy versions.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPolicyVersionsResult |
withPolicyVersions(java.util.Collection<PolicyVersion> policyVersions)
The policy versions.
|
ListPolicyVersionsResult |
withPolicyVersions(PolicyVersion... policyVersions)
The policy versions.
|
public java.util.List<PolicyVersion> getPolicyVersions()
The policy versions.
The policy versions.
public void setPolicyVersions(java.util.Collection<PolicyVersion> policyVersions)
The policy versions.
policyVersions
- The policy versions.
public ListPolicyVersionsResult withPolicyVersions(PolicyVersion... policyVersions)
The policy versions.
Returns a reference to this object so that method calls can be chained together.
policyVersions
- The policy versions.
public ListPolicyVersionsResult withPolicyVersions(java.util.Collection<PolicyVersion> policyVersions)
The policy versions.
Returns a reference to this object so that method calls can be chained together.
policyVersions
- The policy versions.
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.