public final class FirewallPolicyRuleApplicationProtocol extends Object
| Constructor and Description |
|---|
FirewallPolicyRuleApplicationProtocol() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
port()
Get the port property: Port number for the protocol, cannot be greater than 64000.
|
FirewallPolicyRuleApplicationProtocolType |
protocolType()
Get the protocolType property: Protocol type.
|
void |
validate()
Validates the instance.
|
FirewallPolicyRuleApplicationProtocol |
withPort(Integer port)
Set the port property: Port number for the protocol, cannot be greater than 64000.
|
FirewallPolicyRuleApplicationProtocol |
withProtocolType(FirewallPolicyRuleApplicationProtocolType protocolType)
Set the protocolType property: Protocol type.
|
public FirewallPolicyRuleApplicationProtocol()
public FirewallPolicyRuleApplicationProtocolType protocolType()
public FirewallPolicyRuleApplicationProtocol withProtocolType(FirewallPolicyRuleApplicationProtocolType protocolType)
protocolType - the protocolType value to set.public Integer port()
public FirewallPolicyRuleApplicationProtocol 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.