public class DistributedFirewallRuleServiceProtocolRequest extends Object implements Serializable
Constructor and Description |
---|
DistributedFirewallRuleServiceProtocolRequest(Long sourcePort,
Long destinationPort,
Long protocol,
DistributedFirewallProtocolNameType protocolName)
Instantiates a new distributed firewall rule service protocol request.
|
Modifier and Type | Method and Description |
---|---|
Long |
getDestinationPort()
Gets destinationPort.
|
Long |
getProtocol()
Gets protocol.
|
DistributedFirewallProtocolNameType |
getProtocolName()
Gets protocolName.
|
Long |
getSourcePort()
Gets sourcePort.
|
public DistributedFirewallRuleServiceProtocolRequest(Long sourcePort, Long destinationPort, Long protocol, DistributedFirewallProtocolNameType protocolName)
sourcePort
- the source portdestinationPort
- the destination portprotocol
- the protocolprotocolName
- the protocol namepublic Long getSourcePort()
The port number for the source port
Long
the sourcePortpublic Long getDestinationPort()
The port number for the destination port
Long
the destinationPortpublic Long getProtocol()
The specified protocol of the service
Long
the protocolpublic DistributedFirewallProtocolNameType getProtocolName()
The name of the service protocol
DistributedFirewallProtocolNameType
the protocolNameCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.