Class CreateAlertPolicyOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.alerts.v1.model.CreateAlertPolicyOptions.Builder
-
- Enclosing class:
- CreateAlertPolicyOptions
public static class CreateAlertPolicyOptions.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 CreateAlertPolicyOptions.Builder
alertType(String alertType)
Set the alertType.CreateAlertPolicyOptions
build()
Builds a CreateAlertPolicyOptions.CreateAlertPolicyOptions.Builder
conditions(Map<String,Object> conditions)
Set the conditions.CreateAlertPolicyOptions.Builder
description(String description)
Set the description.CreateAlertPolicyOptions.Builder
enabled(Boolean enabled)
Set the enabled.CreateAlertPolicyOptions.Builder
filters(Map<String,Object> filters)
Set the filters.CreateAlertPolicyOptions.Builder
mechanisms(CreateAlertPolicyInputMechanisms mechanisms)
Set the mechanisms.CreateAlertPolicyOptions.Builder
name(String name)
Set the name.
-
-
-
Method Detail
-
build
public CreateAlertPolicyOptions build()
Builds a CreateAlertPolicyOptions.- Returns:
- the new CreateAlertPolicyOptions instance
-
name
public CreateAlertPolicyOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateAlertPolicyOptions builder
-
description
public CreateAlertPolicyOptions.Builder description(String description)
Set the description.- Parameters:
description
- the description- Returns:
- the CreateAlertPolicyOptions builder
-
enabled
public CreateAlertPolicyOptions.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled
- the enabled- Returns:
- the CreateAlertPolicyOptions builder
-
alertType
public CreateAlertPolicyOptions.Builder alertType(String alertType)
Set the alertType.- Parameters:
alertType
- the alertType- Returns:
- the CreateAlertPolicyOptions builder
-
mechanisms
public CreateAlertPolicyOptions.Builder mechanisms(CreateAlertPolicyInputMechanisms mechanisms)
Set the mechanisms.- Parameters:
mechanisms
- the mechanisms- Returns:
- the CreateAlertPolicyOptions builder
-
filters
public CreateAlertPolicyOptions.Builder filters(Map<String,Object> filters)
Set the filters.- Parameters:
filters
- the filters- Returns:
- the CreateAlertPolicyOptions builder
-
conditions
public CreateAlertPolicyOptions.Builder conditions(Map<String,Object> conditions)
Set the conditions.- Parameters:
conditions
- the conditions- Returns:
- the CreateAlertPolicyOptions builder
-
-