ApplicationGatewayHttpListener Class

public final class ApplicationGatewayHttpListener
extends SubResource

Http listener of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayHttpListener()

Creates an instance of ApplicationGatewayHttpListener class.

Method Summary

Modifier and Type Method and Description
List<ApplicationGatewayCustomError> customErrorConfigurations()

Get the customErrorConfigurations property: Custom error configurations of the HTTP listener.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

SubResource firewallPolicy()

Get the firewallPolicy property: Reference to the FirewallPolicy resource.

SubResource frontendIpConfiguration()

Get the frontendIpConfiguration property: Frontend IP configuration resource of an application gateway.

SubResource frontendPort()

Get the frontendPort property: Frontend port resource of an application gateway.

List<String> hostNames()

Get the hostNames property: List of Host names for HTTP Listener that allows special wildcard characters as well.

String hostname()

Get the hostname property: Host name of HTTP listener.

String name()

Get the name property: Name of the HTTP listener that is unique within an Application Gateway.

ApplicationGatewayProtocol protocol()

Get the protocol property: Protocol of the HTTP listener.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the HTTP listener resource.

Boolean requireServerNameIndication()

Get the requireServerNameIndication property: Applicable only if protocol is https.

SubResource sslCertificate()

Get the sslCertificate property: SSL certificate resource of an application gateway.

SubResource sslProfile()

Get the sslProfile property: SSL profile resource of the application gateway.

String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayHttpListener withCustomErrorConfigurations(List<ApplicationGatewayCustomError> customErrorConfigurations)

Set the customErrorConfigurations property: Custom error configurations of the HTTP listener.

ApplicationGatewayHttpListener withFirewallPolicy(SubResource firewallPolicy)

Set the firewallPolicy property: Reference to the FirewallPolicy resource.

ApplicationGatewayHttpListener withFrontendIpConfiguration(SubResource frontendIpConfiguration)

Set the frontendIpConfiguration property: Frontend IP configuration resource of an application gateway.

ApplicationGatewayHttpListener withFrontendPort(SubResource frontendPort)

Set the frontendPort property: Frontend port resource of an application gateway.

ApplicationGatewayHttpListener withHostNames(List<String> hostNames)

Set the hostNames property: List of Host names for HTTP Listener that allows special wildcard characters as well.

ApplicationGatewayHttpListener withHostname(String hostname)

Set the hostname property: Host name of HTTP listener.

ApplicationGatewayHttpListener withId(String id)
ApplicationGatewayHttpListener withName(String name)

Set the name property: Name of the HTTP listener that is unique within an Application Gateway.

ApplicationGatewayHttpListener withProtocol(ApplicationGatewayProtocol protocol)

Set the protocol property: Protocol of the HTTP listener.

ApplicationGatewayHttpListener withRequireServerNameIndication(Boolean requireServerNameIndication)

Set the requireServerNameIndication property: Applicable only if protocol is https.

ApplicationGatewayHttpListener withSslCertificate(SubResource sslCertificate)

Set the sslCertificate property: SSL certificate resource of an application gateway.

ApplicationGatewayHttpListener withSslProfile(SubResource sslProfile)

Set the sslProfile property: SSL profile resource of the application gateway.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayHttpListener

public ApplicationGatewayHttpListener()

Creates an instance of ApplicationGatewayHttpListener class.

Method Details

customErrorConfigurations

public List customErrorConfigurations()

Get the customErrorConfigurations property: Custom error configurations of the HTTP listener.

Returns:

the customErrorConfigurations value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

firewallPolicy

public SubResource firewallPolicy()

Get the firewallPolicy property: Reference to the FirewallPolicy resource.

Returns:

the firewallPolicy value.

frontendIpConfiguration

public SubResource frontendIpConfiguration()

Get the frontendIpConfiguration property: Frontend IP configuration resource of an application gateway.

Returns:

the frontendIpConfiguration value.

frontendPort

public SubResource frontendPort()

Get the frontendPort property: Frontend port resource of an application gateway.

Returns:

the frontendPort value.

hostNames

public List hostNames()

Get the hostNames property: List of Host names for HTTP Listener that allows special wildcard characters as well.

Returns:

the hostNames value.

hostname

public String hostname()

Get the hostname property: Host name of HTTP listener.

Returns:

the hostname value.

name

public String name()

Get the name property: Name of the HTTP listener that is unique within an Application Gateway.

Returns:

the name value.

protocol

public ApplicationGatewayProtocol protocol()

Get the protocol property: Protocol of the HTTP listener.

Returns:

the protocol value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the HTTP listener resource.

Returns:

the provisioningState value.

requireServerNameIndication

public Boolean requireServerNameIndication()

Get the requireServerNameIndication property: Applicable only if protocol is https. Enables SNI for multi-hosting.

Returns:

the requireServerNameIndication value.

sslCertificate

public SubResource sslCertificate()

Get the sslCertificate property: SSL certificate resource of an application gateway.

Returns:

the sslCertificate value.

sslProfile

public SubResource sslProfile()

Get the sslProfile property: SSL profile resource of the application gateway.

Returns:

the sslProfile value.

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withCustomErrorConfigurations

public ApplicationGatewayHttpListener withCustomErrorConfigurations(List customErrorConfigurations)

Set the customErrorConfigurations property: Custom error configurations of the HTTP listener.

Parameters:

customErrorConfigurations - the customErrorConfigurations value to set.

Returns:

the ApplicationGatewayHttpListener object itself.

withFirewallPolicy

public ApplicationGatewayHttpListener withFirewallPolicy(SubResource firewallPolicy)

Set the firewallPolicy property: Reference to the FirewallPolicy resource.

Parameters:

firewallPolicy - the firewallPolicy value to set.

Returns:

the ApplicationGatewayHttpListener object itself.

withFrontendIpConfiguration

public ApplicationGatewayHttpListener withFrontendIpConfiguration(SubResource frontendIpConfiguration)

Set the frontendIpConfiguration property: Frontend IP configuration resource of an application gateway.

Parameters:

frontendIpConfiguration - the frontendIpConfiguration value to set.

Returns:

the ApplicationGatewayHttpListener object itself.

withFrontendPort

public ApplicationGatewayHttpListener withFrontendPort(SubResource frontendPort)

Set the frontendPort property: Frontend port resource of an application gateway.

Parameters:

frontendPort - the frontendPort value to set.

Returns:

the ApplicationGatewayHttpListener object itself.

withHostNames

public ApplicationGatewayHttpListener withHostNames(List hostNames)

Set the hostNames property: List of Host names for HTTP Listener that allows special wildcard characters as well.

Parameters:

hostNames - the hostNames value to set.

Returns:

the ApplicationGatewayHttpListener object itself.

withHostname

public ApplicationGatewayHttpListener withHostname(String hostname)

Set the hostname property: Host name of HTTP listener.

Parameters:

hostname - the hostname value to set.

Returns:

the ApplicationGatewayHttpListener object itself.

withId

public ApplicationGatewayHttpListener withId(String id)

Overrides:

ApplicationGatewayHttpListener.withId(String id)

Parameters:

id

withName

public ApplicationGatewayHttpListener withName(String name)

Set the name property: Name of the HTTP listener that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayHttpListener object itself.

withProtocol

public ApplicationGatewayHttpListener withProtocol(ApplicationGatewayProtocol protocol)

Set the protocol property: Protocol of the HTTP listener.

Parameters:

protocol - the protocol value to set.

Returns:

the ApplicationGatewayHttpListener object itself.

withRequireServerNameIndication

public ApplicationGatewayHttpListener withRequireServerNameIndication(Boolean requireServerNameIndication)

Set the requireServerNameIndication property: Applicable only if protocol is https. Enables SNI for multi-hosting.

Parameters:

requireServerNameIndication - the requireServerNameIndication value to set.

Returns:

the ApplicationGatewayHttpListener object itself.

withSslCertificate

public ApplicationGatewayHttpListener withSslCertificate(SubResource sslCertificate)

Set the sslCertificate property: SSL certificate resource of an application gateway.

Parameters:

sslCertificate - the sslCertificate value to set.

Returns:

the ApplicationGatewayHttpListener object itself.

withSslProfile

public ApplicationGatewayHttpListener withSslProfile(SubResource sslProfile)

Set the sslProfile property: SSL profile resource of the application gateway.

Parameters:

sslProfile - the sslProfile value to set.

Returns:

the ApplicationGatewayHttpListener object itself.

Applies to