Class RuleCreate.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.rulesets.v1.model.RuleCreate.Builder
-
- Enclosing class:
- RuleCreate
public static class RuleCreate.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleCreate.Builderaction(String action)Set the action.RuleCreate.BuilderactionParameters(ActionParameters actionParameters)Set the actionParameters.RuleCreatebuild()Builds a RuleCreate.RuleCreate.Builderdescription(String description)Set the description.RuleCreate.Builderenabled(Boolean enabled)Set the enabled.RuleCreate.Builderexpression(String expression)Set the expression.RuleCreate.Builderid(String id)Set the id.RuleCreate.Builderlogging(Logging logging)Set the logging.RuleCreate.Builderposition(Position position)Set the position.RuleCreate.Builderratelimit(Ratelimit ratelimit)Set the ratelimit.RuleCreate.Builderref(String ref)Set the ref.
-
-
-
Method Detail
-
build
public RuleCreate build()
Builds a RuleCreate.- Returns:
- the new RuleCreate instance
-
action
public RuleCreate.Builder action(String action)
Set the action.- Parameters:
action- the action- Returns:
- the RuleCreate builder
-
actionParameters
public RuleCreate.Builder actionParameters(ActionParameters actionParameters)
Set the actionParameters.- Parameters:
actionParameters- the actionParameters- Returns:
- the RuleCreate builder
-
ratelimit
public RuleCreate.Builder ratelimit(Ratelimit ratelimit)
Set the ratelimit.- Parameters:
ratelimit- the ratelimit- Returns:
- the RuleCreate builder
-
description
public RuleCreate.Builder description(String description)
Set the description.- Parameters:
description- the description- Returns:
- the RuleCreate builder
-
enabled
public RuleCreate.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled- the enabled- Returns:
- the RuleCreate builder
-
expression
public RuleCreate.Builder expression(String expression)
Set the expression.- Parameters:
expression- the expression- Returns:
- the RuleCreate builder
-
id
public RuleCreate.Builder id(String id)
Set the id.- Parameters:
id- the id- Returns:
- the RuleCreate builder
-
logging
public RuleCreate.Builder logging(Logging logging)
Set the logging.- Parameters:
logging- the logging- Returns:
- the RuleCreate builder
-
ref
public RuleCreate.Builder ref(String ref)
Set the ref.- Parameters:
ref- the ref- Returns:
- the RuleCreate builder
-
position
public RuleCreate.Builder position(Position position)
Set the position.- Parameters:
position- the position- Returns:
- the RuleCreate builder
-
-