public class DistributedFirewallLayer3RuleCreateRequest extends Object implements Serializable
| Constructor and Description | 
|---|
| DistributedFirewallLayer3RuleCreateRequest(Boolean disabled,
                                          Boolean logged,
                                          String name,
                                          DistributedFirewallActionType action,
                                          List<DistributedFirewallRuleAppliedToRequest> appliedToList,
                                          Boolean sourcesExcluded,
                                          List<DistributedFirewallRuleSourceRequest> sources,
                                          Boolean destinationsExcluded,
                                          List<DistributedFirewallRuleDestinationRequest> destinations,
                                          List<DistributedFirewallRuleServiceObjectRequest> serviceObjects,
                                          List<DistributedFirewallRuleServiceProtocolRequest> serviceProtocols,
                                          DistributedFirewallDirectionType direction,
                                          DistributedFirewallPacketType packetType)Instantiates a new distributed firewall layer 3 rule create 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. | 
| String | getName()Gets name. | 
| DistributedFirewallPacketType | getPacketType()Gets packetType. | 
| List<DistributedFirewallRuleServiceObjectRequest> | getServiceObjects()Gets serviceObjects. | 
| List<DistributedFirewallRuleServiceProtocolRequest> | getServiceProtocols()Gets serviceProtocols. | 
| List<DistributedFirewallRuleSourceRequest> | getSources()Gets sources. | 
| Boolean | isDestinationsExcluded()Gets destinationsExcluded. | 
| Boolean | isDisabled()Gets disabled. | 
| Boolean | isLogged()Gets logged. | 
| Boolean | isSourcesExcluded()Gets sourcesExcluded. | 
public DistributedFirewallLayer3RuleCreateRequest(Boolean disabled, Boolean logged, String name, DistributedFirewallActionType action, List<DistributedFirewallRuleAppliedToRequest> appliedToList, Boolean sourcesExcluded, List<DistributedFirewallRuleSourceRequest> sources, Boolean destinationsExcluded, List<DistributedFirewallRuleDestinationRequest> destinations, List<DistributedFirewallRuleServiceObjectRequest> serviceObjects, List<DistributedFirewallRuleServiceProtocolRequest> serviceProtocols, DistributedFirewallDirectionType direction, DistributedFirewallPacketType packetType)
disabled - the disabledlogged - the loggedname - the nameaction - the actionappliedToList - the applied to listsourcesExcluded - the sources excludedsources - the sourcesdestinationsExcluded - the destinations excludeddestinations - the destinationsserviceObjects - the service objectsserviceProtocols - the service protocolsdirection - the directionpacketType - the packet typepublic 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 List<DistributedFirewallRuleServiceProtocolRequest> getServiceProtocols()
The list of service protocols of the distributed firewall rule
List of DistributedFirewallRuleServiceProtocolRequest the serviceProtocolspublic DistributedFirewallDirectionType getDirection()
Whether the distributed firewall rule applies to incoming traffic, outgoing traffic, or both. Default is INOUT
DistributedFirewallDirectionType the directionpublic DistributedFirewallPacketType getPacketType()
The packet type of the distributed firewall rule. Default is ANY
DistributedFirewallPacketType the packetTypeCopyright © 2020 iland Internet Solutions, Corp. All rights reserved.