public class AzureFirewallApplicationRuleProtocol extends Object
| Constructor and Description |
|---|
AzureFirewallApplicationRuleProtocol() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
port()
Get port number for the protocol, cannot be greater than 64000.
|
AzureFirewallApplicationRuleProtocolType |
protocolType()
Get protocol type.
|
AzureFirewallApplicationRuleProtocol |
withPort(Integer port)
Set port number for the protocol, cannot be greater than 64000.
|
AzureFirewallApplicationRuleProtocol |
withProtocolType(AzureFirewallApplicationRuleProtocolType protocolType)
Set protocol type.
|
public AzureFirewallApplicationRuleProtocol()
public AzureFirewallApplicationRuleProtocolType protocolType()
public AzureFirewallApplicationRuleProtocol withProtocolType(AzureFirewallApplicationRuleProtocolType protocolType)
protocolType - the protocolType value to setpublic Integer port()
public AzureFirewallApplicationRuleProtocol withPort(Integer port)
port - the port value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/