Class RuleDetails
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.rulesets.v1.model.RuleDetails
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class RuleDetails extends com.ibm.cloud.sdk.core.service.model.GenericModelRuleDetails.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()Gets the action.ActionParametersgetActionParameters()Gets the actionParameters.List<String>getCategories()Gets the categories.StringgetDescription()Gets the description.StringgetExpression()Gets the expression.StringgetId()Gets the id.StringgetLastUpdated()Gets the lastUpdated.LogginggetLogging()Gets the logging.StringgetRef()Gets the ref.StringgetVersion()Gets the version.BooleanisEnabled()Gets the enabled.
-
-
-
Method Detail
-
getId
public String getId()
Gets the id. unique ID of rule.- Returns:
- the id
-
getVersion
public String getVersion()
Gets the version. The version of the rule.- Returns:
- the version
-
getAction
public String getAction()
Gets the action. What happens when theres a match for the rule expression.- Returns:
- the action
-
getActionParameters
public ActionParameters getActionParameters()
Gets the actionParameters.- Returns:
- the actionParameters
-
getCategories
public List<String> getCategories()
Gets the categories. List of categories for the rule.- Returns:
- the categories
-
isEnabled
public Boolean isEnabled()
Gets the enabled. Is the rule enabled.- Returns:
- the enabled
-
getDescription
public String getDescription()
Gets the description. description of the rule.- Returns:
- the description
-
getExpression
public String getExpression()
Gets the expression. The expression defining which traffic will match the rule.- Returns:
- the expression
-
getRef
public String getRef()
Gets the ref. The reference of the rule (the rule ID by default).- Returns:
- the ref
-
getLogging
public Logging getLogging()
Gets the logging.- Returns:
- the logging
-
getLastUpdated
public String getLastUpdated()
Gets the lastUpdated. The timestamp of when the resource was last modified.- Returns:
- the lastUpdated
-
-