Package com.amazonaws.services.iot.model
Class PolicyVersion
java.lang.Object
com.amazonaws.services.iot.model.PolicyVersion
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a policy version.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date and time the policy was created.Specifies whether the policy version is the default.The policy version ID.int
hashCode()
Specifies whether the policy version is the default.void
setCreateDate
(Date createDate) The date and time the policy was created.void
setIsDefaultVersion
(Boolean isDefaultVersion) Specifies whether the policy version is the default.void
setVersionId
(String versionId) The policy version ID.toString()
Returns a string representation of this object; useful for testing and debugging.withCreateDate
(Date createDate) The date and time the policy was created.withIsDefaultVersion
(Boolean isDefaultVersion) Specifies whether the policy version is the default.withVersionId
(String versionId) The policy version ID.
-
Constructor Details
-
PolicyVersion
public PolicyVersion()
-
-
Method Details
-
setVersionId
The policy version ID.
- Parameters:
versionId
- The policy version ID.
-
getVersionId
The policy version ID.
- Returns:
- The policy version ID.
-
withVersionId
The policy version ID.
- Parameters:
versionId
- 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.
-
setCreateDate
The date and time the policy was created.
- Parameters:
createDate
- The date and time the policy was created.
-
getCreateDate
The date and time the policy was created.
- Returns:
- The date and time the policy was created.
-
withCreateDate
The date and time the policy was created.
- Parameters:
createDate
- The date and time the policy was created.- 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
-