Class UpdateZoneRulesetRuleOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.rulesets.v1.model.UpdateZoneRulesetRuleOptions.Builder
-
- Enclosing class:
- UpdateZoneRulesetRuleOptions
public static class UpdateZoneRulesetRuleOptions.Builder extends Object
Builder.
-
-
Method Summary
-
-
-
Method Detail
-
build
public UpdateZoneRulesetRuleOptions build()
Builds a UpdateZoneRulesetRuleOptions.- Returns:
- the new UpdateZoneRulesetRuleOptions instance
-
rulesetId
public UpdateZoneRulesetRuleOptions.Builder rulesetId(String rulesetId)
Set the rulesetId.- Parameters:
rulesetId- the rulesetId- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
ruleId
public UpdateZoneRulesetRuleOptions.Builder ruleId(String ruleId)
Set the ruleId.- Parameters:
ruleId- the ruleId- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
action
public UpdateZoneRulesetRuleOptions.Builder action(String action)
Set the action.- Parameters:
action- the action- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
actionParameters
public UpdateZoneRulesetRuleOptions.Builder actionParameters(ActionParameters actionParameters)
Set the actionParameters.- Parameters:
actionParameters- the actionParameters- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
ratelimit
public UpdateZoneRulesetRuleOptions.Builder ratelimit(Ratelimit ratelimit)
Set the ratelimit.- Parameters:
ratelimit- the ratelimit- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
description
public UpdateZoneRulesetRuleOptions.Builder description(String description)
Set the description.- Parameters:
description- the description- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
enabled
public UpdateZoneRulesetRuleOptions.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled- the enabled- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
expression
public UpdateZoneRulesetRuleOptions.Builder expression(String expression)
Set the expression.- Parameters:
expression- the expression- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
id
public UpdateZoneRulesetRuleOptions.Builder id(String id)
Set the id.- Parameters:
id- the id- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
logging
public UpdateZoneRulesetRuleOptions.Builder logging(Logging logging)
Set the logging.- Parameters:
logging- the logging- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
ref
public UpdateZoneRulesetRuleOptions.Builder ref(String ref)
Set the ref.- Parameters:
ref- the ref- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
position
public UpdateZoneRulesetRuleOptions.Builder position(Position position)
Set the position.- Parameters:
position- the position- Returns:
- the UpdateZoneRulesetRuleOptions builder
-
-