public class DistributedFirewallLayer3RuleResponse extends Object implements Serializable
Constructor and Description |
---|
DistributedFirewallLayer3RuleResponse(String name,
DistributedFirewallActionType action,
List<DistributedFirewallRuleAppliedToResponse> appliedToList,
int sectionId,
Boolean sourcesExcluded,
List<DistributedFirewallRuleSourceResponse> sources,
Boolean destinationsExcluded,
List<DistributedFirewallRuleDestinationResponse> destinations,
List<DistributedFirewallRuleServiceObjectResponse> serviceObjects,
List<DistributedFirewallRuleServiceProtocolResponse> serviceProtocols,
DistributedFirewallDirectionType direction,
DistributedFirewallPacketType packetType,
String tag,
Long id,
Boolean disabled,
Boolean logged)
Instantiates a new distributed firewall layer 3 rule response.
|
Modifier and Type | Method and Description |
---|---|
DistributedFirewallActionType |
getAction()
Gets action.
|
List<DistributedFirewallRuleAppliedToResponse> |
getAppliedToList()
Gets appliedToList.
|
List<DistributedFirewallRuleDestinationResponse> |
getDestinations()
Gets destinations.
|
DistributedFirewallDirectionType |
getDirection()
Gets direction.
|
Long |
getId()
Gets id.
|
String |
getName()
Gets name.
|
DistributedFirewallPacketType |
getPacketType()
Gets packetType.
|
int |
getSectionId()
Gets sectionId.
|
List<DistributedFirewallRuleServiceProtocolResponse> |
getServiceProtocols()
Gets serviceProtocols.
|
List<DistributedFirewallRuleServiceObjectResponse> |
getServices()
Gets serviceObjects.
|
List<DistributedFirewallRuleSourceResponse> |
getSources()
Gets sources.
|
String |
getTag()
Gets tag.
|
Boolean |
isDestinationsExcluded()
Gets destinationsExcluded.
|
Boolean |
isDisabled()
Gets disabled.
|
Boolean |
isLogged()
Gets logged.
|
Boolean |
isSourcesExcluded()
Gets sourcesExcluded.
|
public DistributedFirewallLayer3RuleResponse(String name, DistributedFirewallActionType action, List<DistributedFirewallRuleAppliedToResponse> appliedToList, int sectionId, Boolean sourcesExcluded, List<DistributedFirewallRuleSourceResponse> sources, Boolean destinationsExcluded, List<DistributedFirewallRuleDestinationResponse> destinations, List<DistributedFirewallRuleServiceObjectResponse> serviceObjects, List<DistributedFirewallRuleServiceProtocolResponse> serviceProtocols, DistributedFirewallDirectionType direction, DistributedFirewallPacketType packetType, String tag, Long id, Boolean disabled, Boolean logged)
name
- the nameaction
- the actionappliedToList
- the applied to listsectionId
- the section idsourcesExcluded
- the sources excludedsources
- the sourcesdestinationsExcluded
- the destinations excludeddestinations
- the destinationsserviceObjects
- the service objectsserviceProtocols
- the service protocolsdirection
- the directionpacketType
- the packet typetag
- the tagid
- the iddisabled
- the disabledlogged
- 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<DistributedFirewallRuleAppliedToResponse> 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 DistributedFirewallRuleAppliedToResponse
the appliedToListpublic int getSectionId()
The section ID of the distributed firewall rule
public Boolean isSourcesExcluded()
Whether or not sources are excluded from distributed firewall rule
Boolean
the sourcesExcludedpublic List<DistributedFirewallRuleSourceResponse> getSources()
The list of sources of the distributed firewall rule
List
of DistributedFirewallRuleSourceResponse
the sourcespublic Boolean isDestinationsExcluded()
Whether or not destinations are excluded from distributed firewall rule
Boolean
the destinationsExcludedpublic List<DistributedFirewallRuleDestinationResponse> getDestinations()
The list of destinations of the distributed firewall rule
List
of DistributedFirewallRuleDestinationResponse
the destinationspublic List<DistributedFirewallRuleServiceObjectResponse> getServices()
The list of service objects of the distributed firewall rule
List
of DistributedFirewallRuleServiceObjectResponse
the servicespublic List<DistributedFirewallRuleServiceProtocolResponse> getServiceProtocols()
The list of service protocols of the distributed firewall rule
List
of DistributedFirewallRuleServiceProtocolResponse
the serviceProtocolspublic DistributedFirewallDirectionType getDirection()
Whether the distributed firewall rule applies to incoming traffic, outgoing traffic, or both
DistributedFirewallDirectionType
the directionpublic DistributedFirewallPacketType getPacketType()
The packet type of the distributed firewall rule
DistributedFirewallPacketType
the packetTypepublic String getTag()
The tag of the distributed firewall rule
String
the tagpublic Boolean isDisabled()
Whether or not the distributed firewall rule is disabled
Boolean
the disabledCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.