Class Rule
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.network.firewall.template.Rule
@ApiType("SoftLayer_Network_Firewall_Template_Rule") public class Rule extends Entity
The SoftLayer_Network_Component_Firewall_Rule type contains general information relating to a single SoftLayer firewall template rule. Use the [[SoftLayer Network Component Firewall]] service to view current rules. Use the [[SoftLayer Network Firewall Update Request]] service to submit a firewall update request.
- See Also:
- SoftLayer_Network_Firewall_Template_Rule
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Rule.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
action
The action that this template rule is to take [permit or deny].protected boolean
actionSpecified
protected String
destinationIpAddress
The destination IP address considered for determining rule application.protected boolean
destinationIpAddressSpecified
protected String
destinationIpSubnetMask
The destination IP subnet mask considered for determining rule application.protected boolean
destinationIpSubnetMaskSpecified
protected Long
destinationPortRangeEnd
The ending (upper end of range) destination port considered for determining rule application.protected boolean
destinationPortRangeEndSpecified
protected Long
destinationPortRangeStart
The starting (lower end of range) destination port considered for determining rule application.protected boolean
destinationPortRangeStartSpecified
protected Template
firewallTemplate
The firewall template that this rule is attached to.protected Long
firewallTemplateId
The unique identifier of the firewall template that a firewall template rule is associated with.protected boolean
firewallTemplateIdSpecified
protected Long
id
A Firewall template rule's internal identifier.protected boolean
idSpecified
protected String
notes
The notes field for the firewall template rule.protected boolean
notesSpecified
protected Long
orderValue
The numeric value describing the order in which the rule set should be applied.protected boolean
orderValueSpecified
protected String
protocol
The protocol considered for determining rule application.protected boolean
protocolSpecified
protected String
sourceIpAddress
The source IP address considered for determining rule application.protected boolean
sourceIpAddressSpecified
protected String
sourceIpSubnetMask
The source IP subnet mask considered for determining rule application.protected boolean
sourceIpSubnetMaskSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Rule()
-
Method Summary
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
firewallTemplate
The firewall template that this rule is attached to. -
action
The action that this template rule is to take [permit or deny]. -
actionSpecified
protected boolean actionSpecified -
destinationIpAddress
The destination IP address considered for determining rule application. -
destinationIpAddressSpecified
protected boolean destinationIpAddressSpecified -
destinationIpSubnetMask
The destination IP subnet mask considered for determining rule application. -
destinationIpSubnetMaskSpecified
protected boolean destinationIpSubnetMaskSpecified -
destinationPortRangeEnd
The ending (upper end of range) destination port considered for determining rule application. -
destinationPortRangeEndSpecified
protected boolean destinationPortRangeEndSpecified -
destinationPortRangeStart
The starting (lower end of range) destination port considered for determining rule application. -
destinationPortRangeStartSpecified
protected boolean destinationPortRangeStartSpecified -
firewallTemplateId
The unique identifier of the firewall template that a firewall template rule is associated with. -
firewallTemplateIdSpecified
protected boolean firewallTemplateIdSpecified -
id
A Firewall template rule's internal identifier. -
idSpecified
protected boolean idSpecified -
notes
The notes field for the firewall template rule. -
notesSpecified
protected boolean notesSpecified -
orderValue
The numeric value describing the order in which the rule set should be applied. -
orderValueSpecified
protected boolean orderValueSpecified -
protocol
The protocol considered for determining rule application. -
protocolSpecified
protected boolean protocolSpecified -
sourceIpAddress
The source IP address considered for determining rule application. -
sourceIpAddressSpecified
protected boolean sourceIpAddressSpecified -
sourceIpSubnetMask
The source IP subnet mask considered for determining rule application. -
sourceIpSubnetMaskSpecified
protected boolean sourceIpSubnetMaskSpecified
-
-
Constructor Details
-
Rule
public Rule()
-
-
Method Details
-
getFirewallTemplate
-
setFirewallTemplate
-
getAction
-
setAction
-
isActionSpecified
public boolean isActionSpecified() -
unsetAction
public void unsetAction() -
getDestinationIpAddress
-
setDestinationIpAddress
-
isDestinationIpAddressSpecified
public boolean isDestinationIpAddressSpecified() -
unsetDestinationIpAddress
public void unsetDestinationIpAddress() -
getDestinationIpSubnetMask
-
setDestinationIpSubnetMask
-
isDestinationIpSubnetMaskSpecified
public boolean isDestinationIpSubnetMaskSpecified() -
unsetDestinationIpSubnetMask
public void unsetDestinationIpSubnetMask() -
getDestinationPortRangeEnd
-
setDestinationPortRangeEnd
-
isDestinationPortRangeEndSpecified
public boolean isDestinationPortRangeEndSpecified() -
unsetDestinationPortRangeEnd
public void unsetDestinationPortRangeEnd() -
getDestinationPortRangeStart
-
setDestinationPortRangeStart
-
isDestinationPortRangeStartSpecified
public boolean isDestinationPortRangeStartSpecified() -
unsetDestinationPortRangeStart
public void unsetDestinationPortRangeStart() -
getFirewallTemplateId
-
setFirewallTemplateId
-
isFirewallTemplateIdSpecified
public boolean isFirewallTemplateIdSpecified() -
unsetFirewallTemplateId
public void unsetFirewallTemplateId() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getNotes
-
setNotes
-
isNotesSpecified
public boolean isNotesSpecified() -
unsetNotes
public void unsetNotes() -
getOrderValue
-
setOrderValue
-
isOrderValueSpecified
public boolean isOrderValueSpecified() -
unsetOrderValue
public void unsetOrderValue() -
getProtocol
-
setProtocol
-
isProtocolSpecified
public boolean isProtocolSpecified() -
unsetProtocol
public void unsetProtocol() -
getSourceIpAddress
-
setSourceIpAddress
-
isSourceIpAddressSpecified
public boolean isSourceIpAddressSpecified() -
unsetSourceIpAddress
public void unsetSourceIpAddress() -
getSourceIpSubnetMask
-
setSourceIpSubnetMask
-
isSourceIpSubnetMaskSpecified
public boolean isSourceIpSubnetMaskSpecified() -
unsetSourceIpSubnetMask
public void unsetSourceIpSubnetMask()
-