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 Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAlertWebhookOptions
build()
Builds a CreateAlertWebhookOptions.CreateAlertWebhookOptions.Builder
name(String name)
Set the name.CreateAlertWebhookOptions.Builder
secret(String secret)
Set the secret.CreateAlertWebhookOptions.Builder
url(String url)
Set the url.
-
-
-
Method Detail
-
build
public CreateAlertWebhookOptions build()
Builds a CreateAlertWebhookOptions.- Returns:
- the new CreateAlertWebhookOptions instance
-
name
public CreateAlertWebhookOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateAlertWebhookOptions builder
-
url
public CreateAlertWebhookOptions.Builder url(String url)
Set the url.- Parameters:
url
- the url- Returns:
- the CreateAlertWebhookOptions builder
-
secret
public CreateAlertWebhookOptions.Builder secret(String secret)
Set the secret.- Parameters:
secret
- the secret- Returns:
- the CreateAlertWebhookOptions builder
-
-