public class FirewallPolicyRuleConditionApplicationProtocol extends Object
| Constructor and Description |
|---|
FirewallPolicyRuleConditionApplicationProtocol() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
port()
Get port number for the protocol, cannot be greater than 64000.
|
FirewallPolicyRuleConditionApplicationProtocolType |
protocolType()
Get protocol type.
|
FirewallPolicyRuleConditionApplicationProtocol |
withPort(Integer port)
Set port number for the protocol, cannot be greater than 64000.
|
FirewallPolicyRuleConditionApplicationProtocol |
withProtocolType(FirewallPolicyRuleConditionApplicationProtocolType protocolType)
Set protocol type.
|
public FirewallPolicyRuleConditionApplicationProtocol()
public FirewallPolicyRuleConditionApplicationProtocolType protocolType()
public FirewallPolicyRuleConditionApplicationProtocol withProtocolType(FirewallPolicyRuleConditionApplicationProtocolType protocolType)
protocolType - the protocolType value to setpublic Integer port()
public FirewallPolicyRuleConditionApplicationProtocol 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.
*/