Class L7Rule
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.network.lbaas.L7Rule
@ApiType("SoftLayer_Network_LBaaS_L7Rule") public class L7Rule extends Entity
The SoftLayer_Network_LBaaS_L7Rule represents the Rules that can be attached to a a L7 policy.
- See Also:
- SoftLayer_Network_LBaaS_L7Rule
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
L7Rule.Mask
static interface
L7Rule.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.static interface
L7Rule.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected String
comparisonType
Comparision type for the Rule, It should any of the following values : REGEX, STARTS_WITH, ENDS_WITH, CONTAINS, EQUAL_TO.protected boolean
comparisonTypeSpecified
protected GregorianCalendar
createDate
Specifies when a Rule was createdprotected boolean
createDateSpecified
protected Long
id
The ID of a Rule.protected boolean
idSpecified
protected Long
invert
Inverts the result of the value if set, i.e.protected boolean
invertSpecified
protected String
key
Key for Rule type HEADER and COOKIE.protected boolean
keySpecified
protected GregorianCalendar
modifyDate
Specifies when a Rule was updated previously.protected boolean
modifyDateSpecified
protected String
type
Type of the Rule.protected boolean
typeSpecified
protected String
uuid
The UUID of a Rule.protected boolean
uuidSpecified
protected String
value
Value for Rule .protected boolean
valueSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description L7Rule()
-
Method Summary
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
comparisonType
Comparision type for the Rule, It should any of the following values : REGEX, STARTS_WITH, ENDS_WITH, CONTAINS, EQUAL_TO. -
comparisonTypeSpecified
protected boolean comparisonTypeSpecified -
createDate
Specifies when a Rule was created -
createDateSpecified
protected boolean createDateSpecified -
id
The ID of a Rule. -
idSpecified
protected boolean idSpecified -
invert
Inverts the result of the value if set, i.e. True will be inverted to False and vice-versa -
invertSpecified
protected boolean invertSpecified -
key
Key for Rule type HEADER and COOKIE. -
keySpecified
protected boolean keySpecified -
modifyDate
Specifies when a Rule was updated previously. -
modifyDateSpecified
protected boolean modifyDateSpecified -
type
Type of the Rule. It should have any of the following values: HOST_NAME, FILE_TYPE, HEADER, COOKIE, PATH. -
typeSpecified
protected boolean typeSpecified -
uuid
The UUID of a Rule. -
uuidSpecified
protected boolean uuidSpecified -
value
Value for Rule . For type HEADER and COOKIE, this value is compared against the value of the key from HEADER or COOKIE. -
valueSpecified
protected boolean valueSpecified
-
-
Constructor Details
-
L7Rule
public L7Rule()
-
-
Method Details
-
getComparisonType
-
setComparisonType
-
isComparisonTypeSpecified
public boolean isComparisonTypeSpecified() -
unsetComparisonType
public void unsetComparisonType() -
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getInvert
-
setInvert
-
isInvertSpecified
public boolean isInvertSpecified() -
unsetInvert
public void unsetInvert() -
getKey
-
setKey
-
isKeySpecified
public boolean isKeySpecified() -
unsetKey
public void unsetKey() -
getModifyDate
-
setModifyDate
-
isModifyDateSpecified
public boolean isModifyDateSpecified() -
unsetModifyDate
public void unsetModifyDate() -
getType
-
setType
-
isTypeSpecified
public boolean isTypeSpecified() -
unsetType
public void unsetType() -
getUuid
-
setUuid
-
isUuidSpecified
public boolean isUuidSpecified() -
unsetUuid
public void unsetUuid() -
getValue
-
setValue
-
isValueSpecified
public boolean isValueSpecified() -
unsetValue
public void unsetValue() -
asService
-
service
-
service
-