Package com.amazonaws.services.iot.model
Class CreatePolicyVersionResult
java.lang.Object
com.amazonaws.services.iot.model.CreatePolicyVersionResult
- All Implemented Interfaces:
Serializable
,Cloneable
The output of the CreatePolicyVersion operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Specifies whether the policy version is the default.The policy ARN.The JSON document that describes the policy.The policy version ID.int
hashCode()
Specifies whether the policy version is the default.void
setIsDefaultVersion
(Boolean isDefaultVersion) Specifies whether the policy version is the default.void
setPolicyArn
(String policyArn) The policy ARN.void
setPolicyDocument
(String policyDocument) The JSON document that describes the policy.void
setPolicyVersionId
(String policyVersionId) The policy version ID.toString()
Returns a string representation of this object; useful for testing and debugging.withIsDefaultVersion
(Boolean isDefaultVersion) Specifies whether the policy version is the default.withPolicyArn
(String policyArn) The policy ARN.withPolicyDocument
(String policyDocument) The JSON document that describes the policy.withPolicyVersionId
(String policyVersionId) The policy version ID.
-
Constructor Details
-
CreatePolicyVersionResult
public CreatePolicyVersionResult()
-
-
Method Details
-
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.
-
setPolicyVersionId
The policy version ID.
- Parameters:
policyVersionId
- The policy version ID.
-
getPolicyVersionId
The policy version ID.
- Returns:
- The policy version ID.
-
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.
-
setIsDefaultVersion
Specifies whether the policy version is the default.
- Parameters:
isDefaultVersion
- Specifies whether the policy version is the default.
-
getIsDefaultVersion
Specifies whether the policy version is the default.
- Returns:
- Specifies whether the policy version is the default.
-
withIsDefaultVersion
Specifies whether the policy version is the default.
- Parameters:
isDefaultVersion
- Specifies whether the policy version is the default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDefaultVersion
Specifies whether the policy version is the default.
- Returns:
- Specifies whether the policy version is the default.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-