Class UpdateAlertWebhookOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.webhooks.v1.model.UpdateAlertWebhookOptions.Builder
-
- Enclosing class:
- UpdateAlertWebhookOptions
public static class UpdateAlertWebhookOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAlertWebhookOptionsbuild()Builds a UpdateAlertWebhookOptions.UpdateAlertWebhookOptions.Buildername(String name)Set the name.UpdateAlertWebhookOptions.Buildersecret(String secret)Set the secret.UpdateAlertWebhookOptions.Builderurl(String url)Set the url.UpdateAlertWebhookOptions.BuilderwebhookId(String webhookId)Set the webhookId.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String webhookId)
Instantiates a new builder with required properties.- Parameters:
webhookId- the webhookId
-
-
Method Detail
-
build
public UpdateAlertWebhookOptions build()
Builds a UpdateAlertWebhookOptions.- Returns:
- the new UpdateAlertWebhookOptions instance
-
webhookId
public UpdateAlertWebhookOptions.Builder webhookId(String webhookId)
Set the webhookId.- Parameters:
webhookId- the webhookId- Returns:
- the UpdateAlertWebhookOptions builder
-
name
public UpdateAlertWebhookOptions.Builder name(String name)
Set the name.- Parameters:
name- the name- Returns:
- the UpdateAlertWebhookOptions builder
-
url
public UpdateAlertWebhookOptions.Builder url(String url)
Set the url.- Parameters:
url- the url- Returns:
- the UpdateAlertWebhookOptions builder
-
secret
public UpdateAlertWebhookOptions.Builder secret(String secret)
Set the secret.- Parameters:
secret- the secret- Returns:
- the UpdateAlertWebhookOptions builder
-
-