public PutResourcePolicyRequest withPolicyId(String policyId) {
        setPolicyId(policyId);
        return this;
    }
<p>
The policy ID.
</p>

@param policyId
       The policy ID.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/PutResourcePolicyRequest.java