AzureFirewallApplicationRuleProtocol Class

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

public class AzureFirewallApplicationRuleProtocol

Properties of the application rule protocol.

Constructor Summary

Constructor Description
AzureFirewallApplicationRuleProtocol()

Method Summary

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

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

AzureFirewallApplicationRuleProtocol

public AzureFirewallApplicationRuleProtocol()

Method Details

port

public Integer port()

Get port number for the protocol, cannot be greater than 64000. This field is optional.

Returns:

the port value

protocolType

public AzureFirewallApplicationRuleProtocolType protocolType()

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

Returns:

the protocolType value

withPort

public AzureFirewallApplicationRuleProtocol withPort(Integer port)

Set port number for the protocol, cannot be greater than 64000. This field is optional.

Parameters:

port - the port value to set

Returns:

the AzureFirewallApplicationRuleProtocol object itself.

withProtocolType

public AzureFirewallApplicationRuleProtocol withProtocolType(AzureFirewallApplicationRuleProtocolType protocolType)

Set protocol type. Possible values include: 'Http', 'Https', 'Mssql'.

Parameters:

protocolType - the protocolType value to set

Returns:

the AzureFirewallApplicationRuleProtocol object itself.

Applies to