Class UpdateAlertPolicyInputMechanisms.Builder
- java.lang.Object
- 
- com.ibm.cloud.networking.alerts.v1.model.UpdateAlertPolicyInputMechanisms.Builder
 
- 
- Enclosing class:
- UpdateAlertPolicyInputMechanisms
 
 public static class UpdateAlertPolicyInputMechanisms.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 UpdateAlertPolicyInputMechanisms.BuilderaddEmail(UpdateAlertPolicyInputMechanismsEmailItem email)Adds an email to email.UpdateAlertPolicyInputMechanisms.BuilderaddWebhooks(UpdateAlertPolicyInputMechanismsWebhooksItem webhooks)Adds an webhooks to webhooks.UpdateAlertPolicyInputMechanismsbuild()Builds a UpdateAlertPolicyInputMechanisms.UpdateAlertPolicyInputMechanisms.Builderemail(List<UpdateAlertPolicyInputMechanismsEmailItem> email)Set the email.UpdateAlertPolicyInputMechanisms.Builderwebhooks(List<UpdateAlertPolicyInputMechanismsWebhooksItem> webhooks)Set the webhooks.
 
- 
- 
- 
Method Detail- 
buildpublic UpdateAlertPolicyInputMechanisms build() Builds a UpdateAlertPolicyInputMechanisms.- Returns:
- the new UpdateAlertPolicyInputMechanisms instance
 
 - 
addEmailpublic UpdateAlertPolicyInputMechanisms.Builder addEmail(UpdateAlertPolicyInputMechanismsEmailItem email) Adds an email to email.- Parameters:
- email- the new email
- Returns:
- the UpdateAlertPolicyInputMechanisms builder
 
 - 
addWebhookspublic UpdateAlertPolicyInputMechanisms.Builder addWebhooks(UpdateAlertPolicyInputMechanismsWebhooksItem webhooks) Adds an webhooks to webhooks.- Parameters:
- webhooks- the new webhooks
- Returns:
- the UpdateAlertPolicyInputMechanisms builder
 
 - 
emailpublic UpdateAlertPolicyInputMechanisms.Builder email(List<UpdateAlertPolicyInputMechanismsEmailItem> email) Set the email. Existing email will be replaced.- Parameters:
- email- the email
- Returns:
- the UpdateAlertPolicyInputMechanisms builder
 
 - 
webhookspublic UpdateAlertPolicyInputMechanisms.Builder webhooks(List<UpdateAlertPolicyInputMechanismsWebhooksItem> webhooks) Set the webhooks. Existing webhooks will be replaced.- Parameters:
- webhooks- the webhooks
- Returns:
- the UpdateAlertPolicyInputMechanisms builder
 
 
- 
 
-