public UpdatePolicyRequest withPolicyId(String policyId) {
        setPolicyId(policyId);
        return this;
    }
<p>
Specifies the ID of the policy that you want to update. To find this value, you can use <a
href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListPolicies.html"
>ListPolicies</a>.
</p>

@param policyId
       Specifies the ID of the policy that you want to update. To find this value, you can use <a
       href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListPolicies.html"
       >ListPolicies</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-verifiedpermissions/src/main/java/com/amazonaws/services/verifiedpermissions/model/UpdatePolicyRequest.java