FirewallPolicyRuleConditionApplicationProtocol Class

  • java.lang.Object
    • com.microsoft.azure.management.network.FirewallPolicyRuleConditionApplicationProtocol

public class FirewallPolicyRuleConditionApplicationProtocol

Properties of the application rule protocol.

Constructor Summary

Constructor Description
FirewallPolicyRuleConditionApplicationProtocol()

Method Summary

Modifier and Type Method and Description
java.lang.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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

FirewallPolicyRuleConditionApplicationProtocol

public FirewallPolicyRuleConditionApplicationProtocol()

Method Details

port

public Integer port()

Get port number for the protocol, cannot be greater than 64000.

Returns:

the port value

protocolType

public FirewallPolicyRuleConditionApplicationProtocolType protocolType()

Get protocol type. Possible values include: 'Http', 'Https'.

Returns:

the protocolType value

withPort

public FirewallPolicyRuleConditionApplicationProtocol withPort(Integer port)

Set port number for the protocol, cannot be greater than 64000.

Parameters:

port - the port value to set

Returns:

the FirewallPolicyRuleConditionApplicationProtocol object itself.

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.

Applies to