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.GenericModelThe createAlertWebhook options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAlertWebhookOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Gets the name.CreateAlertWebhookOptions.BuildernewBuilder()New builder.Stringsecret()Gets the secret.Stringurl()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
-
-