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
  • Field Details

    • 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.
  • Constructor Details

    • Template

      public Template()
  • Method Details

    • getRules

      public List<Rule> getRules()
    • 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)