Package com.amazonaws.services.iot.model
Class GetPolicyResult
java.lang.Object
com.amazonaws.services.iot.model.GetPolicyResult
- All Implemented Interfaces:
Serializable
,Cloneable
The output from the GetPolicy operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The default policy version ID.The policy ARN.The JSON document that describes the policy.The policy name.int
hashCode()
void
setDefaultVersionId
(String defaultVersionId) The default policy version ID.void
setPolicyArn
(String policyArn) The policy ARN.void
setPolicyDocument
(String policyDocument) The JSON document that describes the policy.void
setPolicyName
(String policyName) The policy name.toString()
Returns a string representation of this object; useful for testing and debugging.withDefaultVersionId
(String defaultVersionId) The default policy version ID.withPolicyArn
(String policyArn) The policy ARN.withPolicyDocument
(String policyDocument) The JSON document that describes the policy.withPolicyName
(String policyName) The policy name.
-
Constructor Details
-
GetPolicyResult
public GetPolicyResult()
-
-
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.
-
setPolicyDocument
The JSON document that describes the policy.
- Parameters:
policyDocument
- The JSON document that describes the policy.
-
getPolicyDocument
The JSON document that describes the policy.
- Returns:
- The JSON document that describes the policy.
-
withPolicyDocument
The JSON document that describes the policy.
- Parameters:
policyDocument
- The JSON document that describes the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDefaultVersionId
The default policy version ID.
- Parameters:
defaultVersionId
- The default policy version ID.
-
getDefaultVersionId
The default policy version ID.
- Returns:
- The default policy version ID.
-
withDefaultVersionId
The default policy version ID.
- Parameters:
defaultVersionId
- The default policy version ID.- 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
-