public Policy withPolicyName(String policyName) {
        setPolicyName(policyName);
        return this;
    }
<p>
The policy name.
</p>

@param policyName
       The policy name.
@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/Policy.java