Class ListPolicyVersionsResult
java.lang.Object
com.amazonaws.services.iot.model.ListPolicyVersionsResult
- All Implemented Interfaces:
Serializable, Cloneable
The output from the ListPolicyVersions operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe policy versions.inthashCode()voidsetPolicyVersions(Collection<PolicyVersion> policyVersions) The policy versions.toString()Returns a string representation of this object; useful for testing and debugging.withPolicyVersions(PolicyVersion... policyVersions) The policy versions.withPolicyVersions(Collection<PolicyVersion> policyVersions) The policy versions.
-
Constructor Details
-
ListPolicyVersionsResult
public ListPolicyVersionsResult()
-
-
Method Details
-
getPolicyVersions
-
setPolicyVersions
The policy versions.
- Parameters:
policyVersions- The policy versions.
-
withPolicyVersions
The policy versions.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyVersions(java.util.Collection)orwithPolicyVersions(java.util.Collection)if you want to override the existing values.- Parameters:
policyVersions- The policy versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPolicyVersions
The policy versions.
- Parameters:
policyVersions- The policy versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-