Package com.mxraven.admin.model
Class UpdateWebhookEndpointRequest.Builder
java.lang.Object
com.mxraven.admin.model.UpdateWebhookEndpointRequest.Builder
- Enclosing class:
- UpdateWebhookEndpointRequest
Builds
UpdateWebhookEndpointRequest instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the request.displayName(String displayName) Sets the human-readable endpoint name.Sets the HTTPS URL that routing scripts call with mx.http.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the human-readable endpoint name.- Parameters:
displayName- human-readable endpoint name- Returns:
- this builder
-
targetUrl
Sets the HTTPS URL that routing scripts call with mx.http.- Parameters:
targetUrl- HTTPS delivery target URL- Returns:
- this builder
-
build
Builds the request.- Returns:
- the update request
- Throws:
IllegalArgumentException- if a field fails validation
-