Class CreateInstanceRulesetRuleOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.rulesets.v1.model.CreateInstanceRulesetRuleOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateInstanceRulesetRuleOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createInstanceRulesetRule options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateInstanceRulesetRuleOptions.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.CreateInstanceRulesetRuleOptions.BuildernewBuilder()New builder.Positionposition()Gets the position.Ratelimitratelimit()Gets the ratelimit.Stringref()Gets the ref.StringrulesetId()Gets the rulesetId.
-
-
-
Method Detail
-
newBuilder
public CreateInstanceRulesetRuleOptions.Builder newBuilder()
New builder.- Returns:
- a CreateInstanceRulesetRuleOptions builder
-
rulesetId
public String rulesetId()
Gets the rulesetId. ID of a specific ruleset.- Returns:
- the rulesetId
-
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
-
-