Class Subnets
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.network.component.firewall.Subnets
-
@ApiType("SoftLayer_Network_Component_Firewall_Subnets") public class Subnets extends Entity
A SoftLayer_Network_Component_Firewall_Subnets object type represents the current linked subnets and contains relative information. Use the [[SoftLayer Network Firewall Update Request]] service to submit a firewall update request. 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
Subnets.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
applyServerRulesFlag
A boolean flag that indicates whether the subnet should receive all the rules intended for the host on this context slot.protected boolean
applyServerRulesFlagSpecified
protected Firewall
networkComponentFirewall
The network component firewall that write rules for this subnet.protected Subnet
subnet
The subnet that this link binds to the network component firewall.protected Long
subnetId
The unique identifier of the subnet being linked to the network component firewall.protected boolean
subnetIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Subnets()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getApplyServerRulesFlag()
Firewall
getNetworkComponentFirewall()
Subnet
getSubnet()
Long
getSubnetId()
boolean
isApplyServerRulesFlagSpecified()
boolean
isSubnetIdSpecified()
void
setApplyServerRulesFlag(Boolean applyServerRulesFlag)
void
setNetworkComponentFirewall(Firewall networkComponentFirewall)
void
setSubnet(Subnet subnet)
void
setSubnetId(Long subnetId)
void
unsetApplyServerRulesFlag()
void
unsetSubnetId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
networkComponentFirewall
@ApiProperty protected Firewall networkComponentFirewall
The network component firewall that write rules for this subnet.
-
subnet
@ApiProperty protected Subnet subnet
The subnet that this link binds to the network component firewall.
-
applyServerRulesFlag
@ApiProperty(canBeNullOrNotSet=true) protected Boolean applyServerRulesFlag
A boolean flag that indicates whether the subnet should receive all the rules intended for the host on this context slot.
-
applyServerRulesFlagSpecified
protected boolean applyServerRulesFlagSpecified
-
subnetId
@ApiProperty(canBeNullOrNotSet=true) protected Long subnetId
The unique identifier of the subnet being linked to the network component firewall.
-
subnetIdSpecified
protected boolean subnetIdSpecified
-
-
Method Detail
-
getNetworkComponentFirewall
public Firewall getNetworkComponentFirewall()
-
setNetworkComponentFirewall
public void setNetworkComponentFirewall(Firewall networkComponentFirewall)
-
getSubnet
public Subnet getSubnet()
-
setSubnet
public void setSubnet(Subnet subnet)
-
getApplyServerRulesFlag
public Boolean getApplyServerRulesFlag()
-
setApplyServerRulesFlag
public void setApplyServerRulesFlag(Boolean applyServerRulesFlag)
-
isApplyServerRulesFlagSpecified
public boolean isApplyServerRulesFlagSpecified()
-
unsetApplyServerRulesFlag
public void unsetApplyServerRulesFlag()
-
getSubnetId
public Long getSubnetId()
-
setSubnetId
public void setSubnetId(Long subnetId)
-
isSubnetIdSpecified
public boolean isSubnetIdSpecified()
-
unsetSubnetId
public void unsetSubnetId()
-
-