Package com.amazonaws.services.iot.model
Class Policy
java.lang.Object
com.amazonaws.services.iot.model.Policy
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an AWS IoT policy.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The policy ARN.The policy name.int
hashCode()
void
setPolicyArn
(String policyArn) The policy ARN.void
setPolicyName
(String policyName) The policy name.toString()
Returns a string representation of this object; useful for testing and debugging.withPolicyArn
(String policyArn) The policy ARN.withPolicyName
(String policyName) The policy name.
-
Constructor Details
-
Policy
public Policy()
-
-
Method Details
-
setPolicyName
The policy name.
- Parameters:
policyName
- The policy name.
-
getPolicyName
The policy name.
- Returns:
- The policy name.
-
withPolicyName
The policy name.
- Parameters:
policyName
- The policy name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicyArn
The policy ARN.
- Parameters:
policyArn
- The policy ARN.
-
getPolicyArn
The policy ARN.
- Returns:
- The policy ARN.
-
withPolicyArn
The policy ARN.
- Parameters:
policyArn
- The policy ARN.- 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
-