Package com.amazonaws.services.iot.model
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()
boolean
The policy versions.int
hashCode()
void
setPolicyVersions
(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
The policy versions.
- Returns:
- The policy versions.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-