Class CreateAlertPolicyOptions
- java.lang.Object
- 
- com.ibm.cloud.sdk.core.service.model.GenericModel
- 
- com.ibm.cloud.networking.alerts.v1.model.CreateAlertPolicyOptions
 
 
- 
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
 
 public class CreateAlertPolicyOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createAlertPolicy options.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceCreateAlertPolicyOptions.AlertTypeCondition for the alert.static classCreateAlertPolicyOptions.BuilderBuilder.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringalertType()Gets the alertType.Map<String,Object>conditions()Gets the conditions.Stringdescription()Gets the description.Booleanenabled()Gets the enabled.Map<String,Object>filters()Gets the filters.CreateAlertPolicyInputMechanismsmechanisms()Gets the mechanisms.Stringname()Gets the name.CreateAlertPolicyOptions.BuildernewBuilder()New builder.
 
- 
- 
- 
Method Detail- 
newBuilderpublic CreateAlertPolicyOptions.Builder newBuilder() New builder.- Returns:
- a CreateAlertPolicyOptions builder
 
 - 
namepublic String name() Gets the name. Policy name.- Returns:
- the name
 
 - 
descriptionpublic String description() Gets the description. Policy description.- Returns:
- the description
 
 - 
enabledpublic Boolean enabled() Gets the enabled. Is the alert policy active.- Returns:
- the enabled
 
 - 
alertTypepublic String alertType() Gets the alertType. Condition for the alert.- Returns:
- the alertType
 
 - 
mechanismspublic CreateAlertPolicyInputMechanisms mechanisms() Gets the mechanisms. Delivery mechanisms for the alert.- Returns:
- the mechanisms
 
 - 
filterspublic Map<String,Object> filters() Gets the filters. Optional filters depending for the alert type.- Returns:
- the filters
 
 - 
conditionspublic Map<String,Object> conditions() Gets the conditions. Conditions depending on the alert type. HTTP DDOS Attack Alerter does not have any conditions. The Load Balancing Pool Enablement Alerter takes conditions that describe for all pools whether the pool is being enabled, disabled, or both. This field is not required when creating a new alert.- Returns:
- the conditions
 
 
- 
 
-