public final class AzureFirewallApplicationRuleProtocol extends Object
| Constructor and Description |
|---|
AzureFirewallApplicationRuleProtocol() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
port()
Get the port property: Port number for the protocol, cannot be greater than 64000.
|
AzureFirewallApplicationRuleProtocolType |
protocolType()
Get the protocolType property: Protocol type.
|
void |
validate()
Validates the instance.
|
AzureFirewallApplicationRuleProtocol |
withPort(Integer port)
Set the port property: Port number for the protocol, cannot be greater than 64000.
|
AzureFirewallApplicationRuleProtocol |
withProtocolType(AzureFirewallApplicationRuleProtocolType protocolType)
Set the protocolType property: Protocol type.
|
public AzureFirewallApplicationRuleProtocol()
public AzureFirewallApplicationRuleProtocolType protocolType()
public AzureFirewallApplicationRuleProtocol withProtocolType(AzureFirewallApplicationRuleProtocolType protocolType)
protocolType - the protocolType value to set.public Integer port()
public AzureFirewallApplicationRuleProtocol withPort(Integer port)
port - the port value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.