Class FirewallPolicyRuleConditionApplicationProtocol
java.lang.Object
com.microsoft.azure.management.network.FirewallPolicyRuleConditionApplicationProtocol
Properties of the application rule protocol.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionport()
Get port number for the protocol, cannot be greater than 64000.Get protocol type.Set port number for the protocol, cannot be greater than 64000.Set protocol type.
-
Constructor Details
-
FirewallPolicyRuleConditionApplicationProtocol
public FirewallPolicyRuleConditionApplicationProtocol()
-
-
Method Details
-
protocolType
Get protocol type. Possible values include: 'Http', 'Https'.- Returns:
- the protocolType value
-
withProtocolType
public FirewallPolicyRuleConditionApplicationProtocol withProtocolType(FirewallPolicyRuleConditionApplicationProtocolType protocolType) Set protocol type. Possible values include: 'Http', 'Https'.- Parameters:
protocolType
- the protocolType value to set- Returns:
- the FirewallPolicyRuleConditionApplicationProtocol object itself.
-
port
Get port number for the protocol, cannot be greater than 64000.- Returns:
- the port value
-
withPort
Set port number for the protocol, cannot be greater than 64000.- Parameters:
port
- the port value to set- Returns:
- the FirewallPolicyRuleConditionApplicationProtocol object itself.
-