Class PolicyVersion

    • Constructor Detail

      • PolicyVersion

        public PolicyVersion()
    • Method Detail

      • setVersionId

        public void setVersionId​(String versionId)

        The policy version ID.

        Parameters:
        versionId - The policy version ID.
      • getVersionId

        public String getVersionId()

        The policy version ID.

        Returns:
        The policy version ID.
      • withVersionId

        public PolicyVersion withVersionId​(String versionId)

        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

        public void setIsDefaultVersion​(Boolean isDefaultVersion)

        Specifies whether the policy version is the default.

        Parameters:
        isDefaultVersion - Specifies whether the policy version is the default.
      • getIsDefaultVersion

        public Boolean getIsDefaultVersion()

        Specifies whether the policy version is the default.

        Returns:
        Specifies whether the policy version is the default.
      • withIsDefaultVersion

        public PolicyVersion withIsDefaultVersion​(Boolean isDefaultVersion)

        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

        public Boolean isDefaultVersion()

        Specifies whether the policy version is the default.

        Returns:
        Specifies whether the policy version is the default.
      • setCreateDate

        public void setCreateDate​(Date createDate)

        The date and time the policy was created.

        Parameters:
        createDate - The date and time the policy was created.
      • getCreateDate

        public Date getCreateDate()

        The date and time the policy was created.

        Returns:
        The date and time the policy was created.
      • withCreateDate

        public PolicyVersion withCreateDate​(Date createDate)

        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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object