public class DistributedFirewallLayer2RuleUpdateRequest extends Object implements Serializable
| Constructor and Description | 
|---|
| DistributedFirewallLayer2RuleUpdateRequest(Long id,
                                          Boolean disabled,
                                          Boolean logged,
                                          String name,
                                          DistributedFirewallActionType action,
                                          List<DistributedFirewallRuleAppliedToRequest> appliedToList,
                                          Boolean sourcesExcluded,
                                          List<DistributedFirewallRuleSourceRequest> sources,
                                          Boolean destinationsExcluded,
                                          List<DistributedFirewallRuleDestinationRequest> destinations,
                                          List<DistributedFirewallRuleServiceObjectRequest> serviceObjects,
                                          DistributedFirewallDirectionType direction)Instantiates a new distributed firewall layer 2 rule update request. | 
| Modifier and Type | Method and Description | 
|---|---|
| DistributedFirewallActionType | getAction()Gets action. | 
| List<DistributedFirewallRuleAppliedToRequest> | getAppliedToList()Gets appliedToList. | 
| List<DistributedFirewallRuleDestinationRequest> | getDestinations()Gets destinations. | 
| DistributedFirewallDirectionType | getDirection()Gets direction. | 
| Long | getId()Gets id. | 
| String | getName()Gets name. | 
| List<DistributedFirewallRuleServiceObjectRequest> | getServiceObjects()Gets serviceObjects. | 
| List<DistributedFirewallRuleSourceRequest> | getSources()Gets sources. | 
| Boolean | isDestinationsExcluded()Gets destinationsExcluded. | 
| Boolean | isDisabled()Gets disabled. | 
| Boolean | isLogged()Gets logged. | 
| Boolean | isSourcesExcluded()Gets sourcesExcluded. | 
public DistributedFirewallLayer2RuleUpdateRequest(Long id, Boolean disabled, Boolean logged, String name, DistributedFirewallActionType action, List<DistributedFirewallRuleAppliedToRequest> appliedToList, Boolean sourcesExcluded, List<DistributedFirewallRuleSourceRequest> sources, Boolean destinationsExcluded, List<DistributedFirewallRuleDestinationRequest> destinations, List<DistributedFirewallRuleServiceObjectRequest> serviceObjects, DistributedFirewallDirectionType direction)
id - the iddisabled - the disabledlogged - the logged*name - the nameaction - the actionappliedToList - the applied to listsourcesExcluded - the sources excludedsources - the sourcesdestinationsExcluded - the destinations excludeddestinations - the destinationsserviceObjects - the service objectsdirection - the directionpublic Boolean isDisabled()
Whether or not the distributed firewall rule is disabled
Boolean the disabledpublic Boolean isLogged()
Whether or not logging is enabled on the distributed firewall rule
Boolean the loggedpublic String getName()
The name of the distributed firewall rule
String the namepublic DistributedFirewallActionType getAction()
Whether or not traffic from or to the specified sources, destinations and services is allowed or blocked
DistributedFirewallActionType the actionpublic List<DistributedFirewallRuleAppliedToRequest> getAppliedToList()
The applied to list of objects used to define the object scope to which the distributed firewall rule is applied. Note: When the rule contains virtual machines in the Source and Destination cells, you must add both the source and destination virtual machines to the rule's Applied To List for the rule to work correctly.
List of DistributedFirewallRuleAppliedToRequest the appliedToListpublic Boolean isSourcesExcluded()
Whether or not sources are excluded from distributed firewall rule. Default is true
Boolean the sourcesExcludedpublic List<DistributedFirewallRuleSourceRequest> getSources()
The list of sources of the distributed firewall rule
List of DistributedFirewallRuleSourceRequest the sourcespublic Boolean isDestinationsExcluded()
Whether or not destinations are excluded from distributed firewall rule. Default is true
Boolean the destinationsExcludedpublic List<DistributedFirewallRuleDestinationRequest> getDestinations()
The list of destinations of the distributed firewall rule
List of DistributedFirewallRuleDestinationRequest the destinationspublic List<DistributedFirewallRuleServiceObjectRequest> getServiceObjects()
The list of service objects of the distributed firewall rule
List of DistributedFirewallRuleServiceObjectRequest the servicespublic DistributedFirewallDirectionType getDirection()
Whether the distributed firewall rule applies to incoming traffic, outgoing traffic, or both. Default is INOUT
DistributedFirewallDirectionType the directionCopyright © 2020 iland Internet Solutions, Corp. All rights reserved.