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 Detail
-
comparisonType
@ApiProperty(canBeNullOrNotSet=true) protected String 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
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
Specifies when a Rule was created
-
createDateSpecified
protected boolean createDateSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The ID of a Rule.
-
idSpecified
protected boolean idSpecified
-
invert
@ApiProperty(canBeNullOrNotSet=true) protected Long 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
@ApiProperty(canBeNullOrNotSet=true) protected String key
Key for Rule type HEADER and COOKIE.
-
keySpecified
protected boolean keySpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
Specifies when a Rule was updated previously.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
type
@ApiProperty(canBeNullOrNotSet=true) protected String 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
@ApiProperty(canBeNullOrNotSet=true) protected String uuid
The UUID of a Rule.
-
uuidSpecified
protected boolean uuidSpecified
-
value
@ApiProperty(canBeNullOrNotSet=true) protected String 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
-
-
Method Detail
-
getComparisonType
public String getComparisonType()
-
setComparisonType
public void setComparisonType(String comparisonType)
-
isComparisonTypeSpecified
public boolean isComparisonTypeSpecified()
-
unsetComparisonType
public void unsetComparisonType()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getInvert
public Long getInvert()
-
setInvert
public void setInvert(Long invert)
-
isInvertSpecified
public boolean isInvertSpecified()
-
unsetInvert
public void unsetInvert()
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
isKeySpecified
public boolean isKeySpecified()
-
unsetKey
public void unsetKey()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getType
public String getType()
-
setType
public void setType(String type)
-
isTypeSpecified
public boolean isTypeSpecified()
-
unsetType
public void unsetType()
-
getUuid
public String getUuid()
-
setUuid
public void setUuid(String uuid)
-
isUuidSpecified
public boolean isUuidSpecified()
-
unsetUuid
public void unsetUuid()
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
isValueSpecified
public boolean isValueSpecified()
-
unsetValue
public void unsetValue()
-
asService
public L7Rule.Service asService(ApiClient client)
-
service
public static L7Rule.Service service(ApiClient client)
-
service
public static L7Rule.Service service(ApiClient client, Long id)
-
-