Class RuleCreate
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.rulesets.v1.model.RuleCreate
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class RuleCreate extends com.ibm.cloud.sdk.core.service.model.GenericModelRuleCreate.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRuleCreate.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaction()Gets the action.ActionParametersactionParameters()Gets the actionParameters.Stringdescription()Gets the description.Booleanenabled()Gets the enabled.Stringexpression()Gets the expression.Stringid()Gets the id.Logginglogging()Gets the logging.RuleCreate.BuildernewBuilder()New builder.Positionposition()Gets the position.Ratelimitratelimit()Gets the ratelimit.Stringref()Gets the ref.
-
-
-
Method Detail
-
newBuilder
public RuleCreate.Builder newBuilder()
New builder.- Returns:
- a RuleCreate builder
-
action
public String action()
Gets the action. What happens when theres a match for the rule expression.- Returns:
- the action
-
actionParameters
public ActionParameters actionParameters()
Gets the actionParameters.- Returns:
- the actionParameters
-
ratelimit
public Ratelimit ratelimit()
Gets the ratelimit.- Returns:
- the ratelimit
-
description
public String description()
Gets the description.- Returns:
- the description
-
enabled
public Boolean enabled()
Gets the enabled.- Returns:
- the enabled
-
expression
public String expression()
Gets the expression. The expression defining which traffic will match the rule.- Returns:
- the expression
-
id
public String id()
Gets the id.- Returns:
- the id
-
logging
public Logging logging()
Gets the logging.- Returns:
- the logging
-
ref
public String ref()
Gets the ref. The reference of the rule (the rule ID by default).- Returns:
- the ref
-
position
public Position position()
Gets the position.- Returns:
- the position
-
-