Class CreatePolicyResult
java.lang.Object
com.amazonaws.services.iot.model.CreatePolicyResult
- All Implemented Interfaces:
Serializable, Cloneable
The output from the CreatePolicy operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe policy ARN.The JSON document that describes the policy.The policy name.The policy version ID.inthashCode()voidsetPolicyArn(String policyArn) The policy ARN.voidsetPolicyDocument(String policyDocument) The JSON document that describes the policy.voidsetPolicyName(String policyName) The policy name.voidsetPolicyVersionId(String policyVersionId) The policy version ID.toString()Returns a string representation of this object; useful for testing and debugging.withPolicyArn(String policyArn) The policy ARN.withPolicyDocument(String policyDocument) The JSON document that describes the policy.withPolicyName(String policyName) The policy name.withPolicyVersionId(String policyVersionId) The policy version ID.
-
Constructor Details
-
CreatePolicyResult
public CreatePolicyResult()
-
-
Method Details
-
setPolicyName
The policy name.
- Parameters:
policyName- The policy name.
-
getPolicyName
-
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
-
getPolicyArn
-
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.
-
setPolicyVersionId
The policy version ID.
- Parameters:
policyVersionId- The policy version ID.
-
getPolicyVersionId
-
withPolicyVersionId
The policy version ID.
- Parameters:
policyVersionId- The policy version ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-