Class Rule
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.network.firewall.update.request.Rule
-
- Direct Known Subclasses:
Version6
@ApiType("SoftLayer_Network_Firewall_Update_Request_Rule") public class Rule extends Entity
The SoftLayer_Network_Firewall_Update_Request_Rule type contains information relating to a SoftLayer network firewall update request rule. This rule is a member of a [[SoftLayer Network Firewall Update Request]]. Use the [[SoftLayer Network Component Firewall]] service to view current rules. Use the [[SoftLayer Network Firewall Template]] service to pull SoftLayer recommended rule set templates.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Rule.Mask
static interface
Rule.Service
The SoftLayer_Network_Firewall_Update_Request_Rule service accesses information relating to a SoftLayer network firewall update request rule.static interface
Rule.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected String
action
The action that this update request 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 Long
destinationIpCidr
The CIDR is used for determining rule application.protected boolean
destinationIpCidrSpecified
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 Request
firewallUpdateRequest
The update request that this rule belongs to.protected Long
firewallUpdateRequestId
The unique identifier of the firewall update request that a firewall update request rule is associated with.protected boolean
firewallUpdateRequestIdSpecified
protected Long
id
A Firewall update request rule's internal identifier.protected boolean
idSpecified
protected String
notes
The notes field for the firewall update request rule.protected boolean
notesSpecified
protected Long
orderValue
The numeric value describing the order in which the rule 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 Long
sourceIpCidr
The CIDR is used for determining rule application.protected boolean
sourceIpCidrSpecified
protected String
sourceIpSubnetMask
The source IP subnet mask considered for determining rule application.protected boolean
sourceIpSubnetMaskSpecified
protected Long
version
Whether this rule is an IPv4 rule or an IPv6 rule.protected boolean
versionSpecified
-
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 Detail
-
firewallUpdateRequest
@ApiProperty protected Request firewallUpdateRequest
The update request that this rule belongs to.
-
action
@ApiProperty(canBeNullOrNotSet=true) protected String action
The action that this update request rule is to take [permit or deny].
-
actionSpecified
protected boolean actionSpecified
-
destinationIpAddress
@ApiProperty(canBeNullOrNotSet=true) protected String destinationIpAddress
The destination IP address considered for determining rule application.
-
destinationIpAddressSpecified
protected boolean destinationIpAddressSpecified
-
destinationIpCidr
@ApiProperty(canBeNullOrNotSet=true) protected Long destinationIpCidr
The CIDR is used for determining rule application. This value will
-
destinationIpCidrSpecified
protected boolean destinationIpCidrSpecified
-
destinationIpSubnetMask
@ApiProperty(canBeNullOrNotSet=true) protected String destinationIpSubnetMask
The destination IP subnet mask considered for determining rule application.
-
destinationIpSubnetMaskSpecified
protected boolean destinationIpSubnetMaskSpecified
-
destinationPortRangeEnd
@ApiProperty(canBeNullOrNotSet=true) protected Long destinationPortRangeEnd
The ending (upper end of range) destination port considered for determining rule application.
-
destinationPortRangeEndSpecified
protected boolean destinationPortRangeEndSpecified
-
destinationPortRangeStart
@ApiProperty(canBeNullOrNotSet=true) protected Long destinationPortRangeStart
The starting (lower end of range) destination port considered for determining rule application.
-
destinationPortRangeStartSpecified
protected boolean destinationPortRangeStartSpecified
-
firewallUpdateRequestId
@ApiProperty(canBeNullOrNotSet=true) protected Long firewallUpdateRequestId
The unique identifier of the firewall update request that a firewall update request rule is associated with.
-
firewallUpdateRequestIdSpecified
protected boolean firewallUpdateRequestIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A Firewall update request rule's internal identifier.
-
idSpecified
protected boolean idSpecified
-
notes
@ApiProperty(canBeNullOrNotSet=true) protected String notes
The notes field for the firewall update request rule.
-
notesSpecified
protected boolean notesSpecified
-
orderValue
@ApiProperty(canBeNullOrNotSet=true) protected Long orderValue
The numeric value describing the order in which the rule should be applied.
-
orderValueSpecified
protected boolean orderValueSpecified
-
protocol
@ApiProperty(canBeNullOrNotSet=true) protected String protocol
The protocol considered for determining rule application.
-
protocolSpecified
protected boolean protocolSpecified
-
sourceIpAddress
@ApiProperty(canBeNullOrNotSet=true) protected String sourceIpAddress
The source IP address considered for determining rule application.
-
sourceIpAddressSpecified
protected boolean sourceIpAddressSpecified
-
sourceIpCidr
@ApiProperty(canBeNullOrNotSet=true) protected Long sourceIpCidr
The CIDR is used for determining rule application. This value will
-
sourceIpCidrSpecified
protected boolean sourceIpCidrSpecified
-
sourceIpSubnetMask
@ApiProperty(canBeNullOrNotSet=true) protected String sourceIpSubnetMask
The source IP subnet mask considered for determining rule application.
-
sourceIpSubnetMaskSpecified
protected boolean sourceIpSubnetMaskSpecified
-
version
@ApiProperty(canBeNullOrNotSet=true) protected Long version
Whether this rule is an IPv4 rule or an IPv6 rule. If
-
versionSpecified
protected boolean versionSpecified
-
-
Method Detail
-
getFirewallUpdateRequest
public Request getFirewallUpdateRequest()
-
setFirewallUpdateRequest
public void setFirewallUpdateRequest(Request firewallUpdateRequest)
-
getAction
public String getAction()
-
setAction
public void setAction(String action)
-
isActionSpecified
public boolean isActionSpecified()
-
unsetAction
public void unsetAction()
-
getDestinationIpAddress
public String getDestinationIpAddress()
-
setDestinationIpAddress
public void setDestinationIpAddress(String destinationIpAddress)
-
isDestinationIpAddressSpecified
public boolean isDestinationIpAddressSpecified()
-
unsetDestinationIpAddress
public void unsetDestinationIpAddress()
-
getDestinationIpCidr
public Long getDestinationIpCidr()
-
setDestinationIpCidr
public void setDestinationIpCidr(Long destinationIpCidr)
-
isDestinationIpCidrSpecified
public boolean isDestinationIpCidrSpecified()
-
unsetDestinationIpCidr
public void unsetDestinationIpCidr()
-
getDestinationIpSubnetMask
public String getDestinationIpSubnetMask()
-
setDestinationIpSubnetMask
public void setDestinationIpSubnetMask(String destinationIpSubnetMask)
-
isDestinationIpSubnetMaskSpecified
public boolean isDestinationIpSubnetMaskSpecified()
-
unsetDestinationIpSubnetMask
public void unsetDestinationIpSubnetMask()
-
getDestinationPortRangeEnd
public Long getDestinationPortRangeEnd()
-
setDestinationPortRangeEnd
public void setDestinationPortRangeEnd(Long destinationPortRangeEnd)
-
isDestinationPortRangeEndSpecified
public boolean isDestinationPortRangeEndSpecified()
-
unsetDestinationPortRangeEnd
public void unsetDestinationPortRangeEnd()
-
getDestinationPortRangeStart
public Long getDestinationPortRangeStart()
-
setDestinationPortRangeStart
public void setDestinationPortRangeStart(Long destinationPortRangeStart)
-
isDestinationPortRangeStartSpecified
public boolean isDestinationPortRangeStartSpecified()
-
unsetDestinationPortRangeStart
public void unsetDestinationPortRangeStart()
-
getFirewallUpdateRequestId
public Long getFirewallUpdateRequestId()
-
setFirewallUpdateRequestId
public void setFirewallUpdateRequestId(Long firewallUpdateRequestId)
-
isFirewallUpdateRequestIdSpecified
public boolean isFirewallUpdateRequestIdSpecified()
-
unsetFirewallUpdateRequestId
public void unsetFirewallUpdateRequestId()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getNotes
public String getNotes()
-
setNotes
public void setNotes(String notes)
-
isNotesSpecified
public boolean isNotesSpecified()
-
unsetNotes
public void unsetNotes()
-
getOrderValue
public Long getOrderValue()
-
setOrderValue
public void setOrderValue(Long orderValue)
-
isOrderValueSpecified
public boolean isOrderValueSpecified()
-
unsetOrderValue
public void unsetOrderValue()
-
getProtocol
public String getProtocol()
-
setProtocol
public void setProtocol(String protocol)
-
isProtocolSpecified
public boolean isProtocolSpecified()
-
unsetProtocol
public void unsetProtocol()
-
getSourceIpAddress
public String getSourceIpAddress()
-
setSourceIpAddress
public void setSourceIpAddress(String sourceIpAddress)
-
isSourceIpAddressSpecified
public boolean isSourceIpAddressSpecified()
-
unsetSourceIpAddress
public void unsetSourceIpAddress()
-
getSourceIpCidr
public Long getSourceIpCidr()
-
setSourceIpCidr
public void setSourceIpCidr(Long sourceIpCidr)
-
isSourceIpCidrSpecified
public boolean isSourceIpCidrSpecified()
-
unsetSourceIpCidr
public void unsetSourceIpCidr()
-
getSourceIpSubnetMask
public String getSourceIpSubnetMask()
-
setSourceIpSubnetMask
public void setSourceIpSubnetMask(String sourceIpSubnetMask)
-
isSourceIpSubnetMaskSpecified
public boolean isSourceIpSubnetMaskSpecified()
-
unsetSourceIpSubnetMask
public void unsetSourceIpSubnetMask()
-
getVersion
public Long getVersion()
-
setVersion
public void setVersion(Long version)
-
isVersionSpecified
public boolean isVersionSpecified()
-
unsetVersion
public void unsetVersion()
-
asService
public Rule.Service asService(ApiClient client)
-
service
public static Rule.Service service(ApiClient client)
-
service
public static Rule.Service service(ApiClient client, Long id)
-
-