public static class EdgeGatewayFirewallUpdateRequest.FirewallRule extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleApplication |
static class |
EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleSourceDestination
Firewall Rule Source Destination.
|
Constructor and Description |
---|
FirewallRule() |
FirewallRule(Long ruleTag,
String name,
String ruleType,
String description,
EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleSourceDestination source,
EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleSourceDestination destination,
EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleApplication application,
FirewallActionType actionType,
Boolean enabled,
Boolean loggingEnabled,
Boolean matchTranslated) |
Modifier and Type | Method and Description |
---|---|
FirewallActionType |
getActionType()
Get the firewall rule action type.
|
EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleApplication |
getApplication()
Get the firewall rule application.
|
String |
getDescription()
Get the firewall rule description.
|
EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleSourceDestination |
getDestination()
Get the firewall rule destination.
|
String |
getName()
Get the firewall rule name.
|
Long |
getRuleId()
Gets the rule identifier.
|
Long |
getRuleTag()
Get the firewall rule tag.
|
String |
getRuleType()
Get the firewall rule type.
|
EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleSourceDestination |
getSource()
Get the firewall rule source.
|
Boolean |
isEnabled()
Is firewall rule enabled.
|
Boolean |
isLoggingEnabled()
Is firewall rule logging enabled.
|
Boolean |
isMatchTranslated()
Is firewall rule match translated.
|
public FirewallRule()
public FirewallRule(Long ruleTag, String name, String ruleType, String description, EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleSourceDestination source, EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleSourceDestination destination, EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleApplication application, FirewallActionType actionType, Boolean enabled, Boolean loggingEnabled, Boolean matchTranslated)
public Long getRuleTag()
String
firewall rule tagpublic String getRuleType()
String
firewall rule typepublic String getDescription()
String
firewall rule descriptionpublic EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleSourceDestination getSource()
EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleSourceDestination
firewall sourcepublic EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleSourceDestination getDestination()
EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleSourceDestination
firewall destinationpublic EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleApplication getApplication()
EdgeGatewayFirewallUpdateRequest.FirewallRule.FirewallRuleApplication
firewall rule application.public FirewallActionType getActionType()
Get the firewall rule action type. Valid values: accept, deny. When updating the action type of a firewall rule with default_policy type you must also update the action type of the FirewallDefaultPolicy.
FirewallActionType
firewall rule action typepublic Boolean isEnabled()
public Boolean isLoggingEnabled()
public Boolean isMatchTranslated()
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.