Class Template
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.network.firewall.Template
-
@ApiType("SoftLayer_Network_Firewall_Template") public class Template extends Entity
The SoftLayer_Network_Firewall_Template type contains general information for a SoftLayer network firewall template.
Firewall templates are recommend rule sets for use with SoftLayer Hardware Firewall (Dedicated). These optimized templates are designed to balance security restriction with application availability. The templates given may be altered to provide custom network security, or may be used as-is for basic security. At least one rule set MUST be applied for the firewall to block traffic. 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Template.Mask
static interface
Template.Service
The SoftLayer_Network_Firewall_Template service can be used to retrieve recommended SoftLayer network firewall templates and template rules.static interface
Template.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
id
A Firewall template's internal identifier.protected boolean
idSpecified
protected String
name
The name of the firewall rules template.protected boolean
nameSpecified
protected Long
ruleCount
A count of the rule set that belongs to this firewall rules template.protected List<Rule>
rules
The rule set that belongs to this firewall rules template.-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Template()
-
Method Summary
Modifier and Type Method Description Template.Service
asService(ApiClient client)
Long
getId()
String
getName()
Long
getRuleCount()
List<Rule>
getRules()
boolean
isIdSpecified()
boolean
isNameSpecified()
static Template.Service
service(ApiClient client)
static Template.Service
service(ApiClient client, Long id)
void
setId(Long id)
void
setName(String name)
void
setRuleCount(Long ruleCount)
void
unsetId()
void
unsetName()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
rules
@ApiProperty protected List<Rule> rules
The rule set that belongs to this firewall rules template.
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A Firewall template's internal identifier.
-
idSpecified
protected boolean idSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
The name of the firewall rules template.
-
nameSpecified
protected boolean nameSpecified
-
ruleCount
@ApiProperty protected Long ruleCount
A count of the rule set that belongs to this firewall rules template.
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
getRuleCount
public Long getRuleCount()
-
setRuleCount
public void setRuleCount(Long ruleCount)
-
asService
public Template.Service asService(ApiClient client)
-
service
public static Template.Service service(ApiClient client)
-
service
public static Template.Service service(ApiClient client, Long id)
-
-