Interface L7Rule.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- L7Rule
@ApiService("SoftLayer_Network_LBaaS_L7Rule") public static interface L7Rule.Service extends Service
The SoftLayer_Network_LBaaS_L7Rule service allows consumers to manage the Rules associated with a Policy.Polices have multiple rules, each rule is evaluated to true or false. If all the rules of the policies are evaluated to true then action of that policy will be applied to the request. Rules have types, which can be HOST_NAME, FILE_TYPE, HEADER, COOKIE, PATH and rules also have a comparison type which indicates how how rules are evaluated. Rules can have following comparison types: REGEX, STARTS_WITH, ENDS_WITH, CONTAINS, and EQUAL_TO.- See Also:
- SoftLayer_Network_LBaaS_L7Rule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoadBalancer
addL7Rules(String policyUuid, List<L7Rule> rules)
This function creates and adds multiple Rules to a given L7 policy with all the details provided for rulesL7Rule.ServiceAsync
asAsync()
Get an async version of this serviceLoadBalancer
deleteL7Rules(String policyUuid, List<String> ruleUuids)
This function deletes multiple rules aassociated with the same policy.L7Rule
getObject()
void
setMask(L7Rule.Mask mask)
LoadBalancer
updateL7Rules(String policyUuid, List<L7Rule> rules)
This function updates multiple Rules to a given policy with all the details for rules.L7Rule.Mask
withMask()
Use the existing mask on this service or create it if not presentL7Rule.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
L7Rule.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
L7Rule.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
L7Rule.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(L7Rule.Mask mask)
-
addL7Rules
@ApiMethod LoadBalancer addL7Rules(String policyUuid, List<L7Rule> rules)
This function creates and adds multiple Rules to a given L7 policy with all the details provided for rules
-
deleteL7Rules
@ApiMethod LoadBalancer deleteL7Rules(String policyUuid, List<String> ruleUuids)
This function deletes multiple rules aassociated with the same policy.
-
getObject
@ApiMethod(instanceRequired=true) L7Rule getObject()
-
updateL7Rules
@ApiMethod LoadBalancer updateL7Rules(String policyUuid, List<L7Rule> rules)
This function updates multiple Rules to a given policy with all the details for rules.
-
-