public PolicyVersion withIsDefaultVersion(Boolean isDefaultVersion) {
        setIsDefaultVersion(isDefaultVersion);
        return this;
    }
<p>
Specifies whether the policy version is the default.
</p>

@param isDefaultVersion
       Specifies whether the policy version is the default.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/PolicyVersion.java