public class DistributedFirewallRuleServiceProtocolResponse extends Object implements Serializable
Constructor and Description |
---|
DistributedFirewallRuleServiceProtocolResponse(boolean isValid,
Long sourcePort,
Long destinationPort,
Long protocol,
DistributedFirewallProtocolNameType protocolName)
Instantiates a new distributed firewall rule service protocol response.
|
Modifier and Type | Method and Description |
---|---|
Long |
getDestinationPort()
Gets destinationPort.
|
Long |
getProtocol()
Gets protocol.
|
DistributedFirewallProtocolNameType |
getProtocolName()
Gets protocolName.
|
Long |
getSourcePort()
Gets sourcePort.
|
boolean |
isValid()
Gets isValid.
|
public DistributedFirewallRuleServiceProtocolResponse(boolean isValid, Long sourcePort, Long destinationPort, Long protocol, DistributedFirewallProtocolNameType protocolName)
isValid
- the is validsourcePort
- the source portdestinationPort
- the destination portprotocol
- the protocolprotocolName
- the protocol namepublic boolean isValid()
Whether or not object is valid
public 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.