Class ApplicationGatewayHttpListenerPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ApplicationGatewayHttpListenerPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApplicationGatewayHttpListenerPropertiesFormat>
public final class ApplicationGatewayHttpListenerPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ApplicationGatewayHttpListenerPropertiesFormat>
Properties of HTTP listener of an application gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayHttpListenerPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customErrorConfigurations property: Custom error configurations of the HTTP listener.com.azure.core.management.SubResourceGet the firewallPolicy property: Reference to the FirewallPolicy resource.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayHttpListenerPropertiesFormat from the JsonReader.com.azure.core.management.SubResourceGet the frontendIpConfiguration property: Frontend IP configuration resource of an application gateway.com.azure.core.management.SubResourceGet the frontendPort property: Frontend port resource of an application gateway.hostname()Get the hostname property: Host name of HTTP listener.Get the hostNames property: List of Host names for HTTP Listener that allows special wildcard characters as well.protocol()Get the protocol property: Protocol of the HTTP listener.Get the provisioningState property: The provisioning state of the HTTP listener resource.Get the requireServerNameIndication property: Applicable only if protocol is https.com.azure.core.management.SubResourceGet the sslCertificate property: SSL certificate resource of an application gateway.com.azure.core.management.SubResourceGet the sslProfile property: SSL profile resource of the application gateway.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCustomErrorConfigurations(List<ApplicationGatewayCustomError> customErrorConfigurations) Set the customErrorConfigurations property: Custom error configurations of the HTTP listener.withFirewallPolicy(com.azure.core.management.SubResource firewallPolicy) Set the firewallPolicy property: Reference to the FirewallPolicy resource.withFrontendIpConfiguration(com.azure.core.management.SubResource frontendIpConfiguration) Set the frontendIpConfiguration property: Frontend IP configuration resource of an application gateway.withFrontendPort(com.azure.core.management.SubResource frontendPort) Set the frontendPort property: Frontend port resource of an application gateway.withHostname(String hostname) Set the hostname property: Host name of HTTP listener.withHostNames(List<String> hostNames) Set the hostNames property: List of Host names for HTTP Listener that allows special wildcard characters as well.withProtocol(ApplicationGatewayProtocol protocol) Set the protocol property: Protocol of the HTTP listener.withRequireServerNameIndication(Boolean requireServerNameIndication) Set the requireServerNameIndication property: Applicable only if protocol is https.withSslCertificate(com.azure.core.management.SubResource sslCertificate) Set the sslCertificate property: SSL certificate resource of an application gateway.withSslProfile(com.azure.core.management.SubResource sslProfile) Set the sslProfile property: SSL profile resource of the application gateway.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ApplicationGatewayHttpListenerPropertiesFormat
public ApplicationGatewayHttpListenerPropertiesFormat()Creates an instance of ApplicationGatewayHttpListenerPropertiesFormat class.
-
-
Method Details
-
frontendIpConfiguration
public com.azure.core.management.SubResource frontendIpConfiguration()Get the frontendIpConfiguration property: Frontend IP configuration resource of an application gateway.- Returns:
- the frontendIpConfiguration value.
-
withFrontendIpConfiguration
public ApplicationGatewayHttpListenerPropertiesFormat withFrontendIpConfiguration(com.azure.core.management.SubResource frontendIpConfiguration) Set the frontendIpConfiguration property: Frontend IP configuration resource of an application gateway.- Parameters:
frontendIpConfiguration- the frontendIpConfiguration value to set.- Returns:
- the ApplicationGatewayHttpListenerPropertiesFormat object itself.
-
frontendPort
public com.azure.core.management.SubResource frontendPort()Get the frontendPort property: Frontend port resource of an application gateway.- Returns:
- the frontendPort value.
-
withFrontendPort
public ApplicationGatewayHttpListenerPropertiesFormat withFrontendPort(com.azure.core.management.SubResource frontendPort) Set the frontendPort property: Frontend port resource of an application gateway.- Parameters:
frontendPort- the frontendPort value to set.- Returns:
- the ApplicationGatewayHttpListenerPropertiesFormat object itself.
-
protocol
Get the protocol property: Protocol of the HTTP listener.- Returns:
- the protocol value.
-
withProtocol
public ApplicationGatewayHttpListenerPropertiesFormat withProtocol(ApplicationGatewayProtocol protocol) Set the protocol property: Protocol of the HTTP listener.- Parameters:
protocol- the protocol value to set.- Returns:
- the ApplicationGatewayHttpListenerPropertiesFormat object itself.
-
hostname
Get the hostname property: Host name of HTTP listener.- Returns:
- the hostname value.
-
withHostname
Set the hostname property: Host name of HTTP listener.- Parameters:
hostname- the hostname value to set.- Returns:
- the ApplicationGatewayHttpListenerPropertiesFormat object itself.
-
sslCertificate
public com.azure.core.management.SubResource sslCertificate()Get the sslCertificate property: SSL certificate resource of an application gateway.- Returns:
- the sslCertificate value.
-
withSslCertificate
public ApplicationGatewayHttpListenerPropertiesFormat withSslCertificate(com.azure.core.management.SubResource sslCertificate) Set the sslCertificate property: SSL certificate resource of an application gateway.- Parameters:
sslCertificate- the sslCertificate value to set.- Returns:
- the ApplicationGatewayHttpListenerPropertiesFormat object itself.
-
sslProfile
public com.azure.core.management.SubResource sslProfile()Get the sslProfile property: SSL profile resource of the application gateway.- Returns:
- the sslProfile value.
-
withSslProfile
public ApplicationGatewayHttpListenerPropertiesFormat withSslProfile(com.azure.core.management.SubResource sslProfile) Set the sslProfile property: SSL profile resource of the application gateway.- Parameters:
sslProfile- the sslProfile value to set.- Returns:
- the ApplicationGatewayHttpListenerPropertiesFormat object itself.
-
requireServerNameIndication
Get the requireServerNameIndication property: Applicable only if protocol is https. Enables SNI for multi-hosting.- Returns:
- the requireServerNameIndication value.
-
withRequireServerNameIndication
public ApplicationGatewayHttpListenerPropertiesFormat 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 ApplicationGatewayHttpListenerPropertiesFormat object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the HTTP listener resource.- Returns:
- the provisioningState value.
-
customErrorConfigurations
Get the customErrorConfigurations property: Custom error configurations of the HTTP listener.- Returns:
- the customErrorConfigurations value.
-
withCustomErrorConfigurations
public ApplicationGatewayHttpListenerPropertiesFormat withCustomErrorConfigurations(List<ApplicationGatewayCustomError> customErrorConfigurations) Set the customErrorConfigurations property: Custom error configurations of the HTTP listener.- Parameters:
customErrorConfigurations- the customErrorConfigurations value to set.- Returns:
- the ApplicationGatewayHttpListenerPropertiesFormat object itself.
-
firewallPolicy
public com.azure.core.management.SubResource firewallPolicy()Get the firewallPolicy property: Reference to the FirewallPolicy resource.- Returns:
- the firewallPolicy value.
-
withFirewallPolicy
public ApplicationGatewayHttpListenerPropertiesFormat withFirewallPolicy(com.azure.core.management.SubResource firewallPolicy) Set the firewallPolicy property: Reference to the FirewallPolicy resource.- Parameters:
firewallPolicy- the firewallPolicy value to set.- Returns:
- the ApplicationGatewayHttpListenerPropertiesFormat object itself.
-
hostNames
-
withHostNames
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 ApplicationGatewayHttpListenerPropertiesFormat object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApplicationGatewayHttpListenerPropertiesFormat>- Throws:
IOException
-
fromJson
public static ApplicationGatewayHttpListenerPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApplicationGatewayHttpListenerPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApplicationGatewayHttpListenerPropertiesFormat if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ApplicationGatewayHttpListenerPropertiesFormat.
-