Class PolicyRule
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.network.lbaas.PolicyRule
-
@ApiType("SoftLayer_Network_LBaaS_PolicyRule") public class PolicyRule extends Entity
SoftLayer_Network_LBaaS_PolicyRule
This class contains layer 7 policy specifications and an array of associated rules An array of objects of this class must be passed to the API in order to create a policy and its associated rules.- The layer 7 policy object
- An array of layer 7 rules
- See Also:
- SoftLayer_Network_LBaaS_PolicyRule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolicyRule.Mask
-
Field Summary
Fields Modifier and Type Field Description protected L7Policy
l7Policy
L7 Policyprotected boolean
l7PolicySpecified
protected List<L7Rule>
l7Rules
L7 Rulesprotected boolean
l7RulesSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description PolicyRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L7Policy
getL7Policy()
List<L7Rule>
getL7Rules()
boolean
isL7PolicySpecified()
boolean
isL7RulesSpecified()
void
setL7Policy(L7Policy l7Policy)
void
unsetL7Policy()
void
unsetL7Rules()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
l7Policy
@ApiProperty(canBeNullOrNotSet=true) protected L7Policy l7Policy
L7 Policy
-
l7PolicySpecified
protected boolean l7PolicySpecified
-
l7Rules
@ApiProperty(canBeNullOrNotSet=true) protected List<L7Rule> l7Rules
L7 Rules
-
l7RulesSpecified
protected boolean l7RulesSpecified
-
-
Method Detail
-
getL7Policy
public L7Policy getL7Policy()
-
setL7Policy
public void setL7Policy(L7Policy l7Policy)
-
isL7PolicySpecified
public boolean isL7PolicySpecified()
-
unsetL7Policy
public void unsetL7Policy()
-
isL7RulesSpecified
public boolean isL7RulesSpecified()
-
unsetL7Rules
public void unsetL7Rules()
-
-