Class CreateAlertWebhookOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.webhooks.v1.model.CreateAlertWebhookOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateAlertWebhookOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createAlertWebhook options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateAlertWebhookOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Gets the name.CreateAlertWebhookOptions.Builder
newBuilder()
New builder.String
secret()
Gets the secret.String
url()
Gets the url.
-
-
-
Method Detail
-
newBuilder
public CreateAlertWebhookOptions.Builder newBuilder()
New builder.- Returns:
- a CreateAlertWebhookOptions builder
-
name
public String name()
Gets the name. Webhook Name.- Returns:
- the name
-
url
public String url()
Gets the url. Webhook url.- Returns:
- the url
-
secret
public String secret()
Gets the secret. The optional secret or API key needed to use the webhook.- Returns:
- the secret
-
-