Class CreateAlertWebhookOptions.Builder
- java.lang.Object
- 
- com.ibm.cloud.networking.webhooks.v1.model.CreateAlertWebhookOptions.Builder
 
- 
- Enclosing class:
- CreateAlertWebhookOptions
 
 public static class CreateAlertWebhookOptions.Builder extends Object Builder.
- 
- 
Constructor SummaryConstructors Constructor Description Builder()Instantiates a new builder.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAlertWebhookOptionsbuild()Builds a CreateAlertWebhookOptions.CreateAlertWebhookOptions.Buildername(String name)Set the name.CreateAlertWebhookOptions.Buildersecret(String secret)Set the secret.CreateAlertWebhookOptions.Builderurl(String url)Set the url.
 
- 
- 
- 
Method Detail- 
buildpublic CreateAlertWebhookOptions build() Builds a CreateAlertWebhookOptions.- Returns:
- the new CreateAlertWebhookOptions instance
 
 - 
namepublic CreateAlertWebhookOptions.Builder name(String name) Set the name.- Parameters:
- name- the name
- Returns:
- the CreateAlertWebhookOptions builder
 
 - 
urlpublic CreateAlertWebhookOptions.Builder url(String url) Set the url.- Parameters:
- url- the url
- Returns:
- the CreateAlertWebhookOptions builder
 
 - 
secretpublic CreateAlertWebhookOptions.Builder secret(String secret) Set the secret.- Parameters:
- secret- the secret
- Returns:
- the CreateAlertWebhookOptions builder
 
 
- 
 
-