Class UpdateAlertPolicyOptions.Builder
- java.lang.Object
- 
- com.ibm.cloud.networking.alerts.v1.model.UpdateAlertPolicyOptions.Builder
 
- 
- Enclosing class:
- UpdateAlertPolicyOptions
 
 public static class UpdateAlertPolicyOptions.Builder extends Object Builder.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAlertPolicyOptions.BuilderalertType(String alertType)Set the alertType.UpdateAlertPolicyOptionsbuild()Builds a UpdateAlertPolicyOptions.UpdateAlertPolicyOptions.Builderconditions(Map<String,Object> conditions)Set the conditions.UpdateAlertPolicyOptions.Builderdescription(String description)Set the description.UpdateAlertPolicyOptions.Builderenabled(Boolean enabled)Set the enabled.UpdateAlertPolicyOptions.Builderfilters(Map<String,Object> filters)Set the filters.UpdateAlertPolicyOptions.Buildermechanisms(UpdateAlertPolicyInputMechanisms mechanisms)Set the mechanisms.UpdateAlertPolicyOptions.Buildername(String name)Set the name.UpdateAlertPolicyOptions.BuilderpolicyId(String policyId)Set the policyId.
 
- 
- 
- 
Constructor Detail- 
Builderpublic Builder() Instantiates a new builder.
 - 
Builderpublic Builder(String policyId) Instantiates a new builder with required properties.- Parameters:
- policyId- the policyId
 
 
- 
 - 
Method Detail- 
buildpublic UpdateAlertPolicyOptions build() Builds a UpdateAlertPolicyOptions.- Returns:
- the new UpdateAlertPolicyOptions instance
 
 - 
policyIdpublic UpdateAlertPolicyOptions.Builder policyId(String policyId) Set the policyId.- Parameters:
- policyId- the policyId
- Returns:
- the UpdateAlertPolicyOptions builder
 
 - 
namepublic UpdateAlertPolicyOptions.Builder name(String name) Set the name.- Parameters:
- name- the name
- Returns:
- the UpdateAlertPolicyOptions builder
 
 - 
descriptionpublic UpdateAlertPolicyOptions.Builder description(String description) Set the description.- Parameters:
- description- the description
- Returns:
- the UpdateAlertPolicyOptions builder
 
 - 
enabledpublic UpdateAlertPolicyOptions.Builder enabled(Boolean enabled) Set the enabled.- Parameters:
- enabled- the enabled
- Returns:
- the UpdateAlertPolicyOptions builder
 
 - 
alertTypepublic UpdateAlertPolicyOptions.Builder alertType(String alertType) Set the alertType.- Parameters:
- alertType- the alertType
- Returns:
- the UpdateAlertPolicyOptions builder
 
 - 
mechanismspublic UpdateAlertPolicyOptions.Builder mechanisms(UpdateAlertPolicyInputMechanisms mechanisms) Set the mechanisms.- Parameters:
- mechanisms- the mechanisms
- Returns:
- the UpdateAlertPolicyOptions builder
 
 - 
conditionspublic UpdateAlertPolicyOptions.Builder conditions(Map<String,Object> conditions) Set the conditions.- Parameters:
- conditions- the conditions
- Returns:
- the UpdateAlertPolicyOptions builder
 
 - 
filterspublic UpdateAlertPolicyOptions.Builder filters(Map<String,Object> filters) Set the filters.- Parameters:
- filters- the filters
- Returns:
- the UpdateAlertPolicyOptions builder
 
 
- 
 
-