public UpdateProvisioningTemplateRequest withPreProvisioningHook(ProvisioningHook preProvisioningHook) {
        setPreProvisioningHook(preProvisioningHook);
        return this;
    }
<p>
Updates the pre-provisioning hook template. Only supports template of type <code>FLEET_PROVISIONING</code>. For
more information about provisioning template types, see <a href=
"https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type"
>type</a>.
</p>

@param preProvisioningHook
       Updates the pre-provisioning hook template. Only supports template of type <code>FLEET_PROVISIONING</code>
       . For more information about provisioning template types, see <a href=
       "https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type"
       >type</a>.
@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/UpdateProvisioningTemplateRequest.java