Class ApplicationGatewayBackendSettingsPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ApplicationGatewayBackendSettingsPropertiesFormat
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApplicationGatewayBackendSettingsPropertiesFormat>
public final class ApplicationGatewayBackendSettingsPropertiesFormat
extends Object
implements com.azure.json.JsonSerializable<ApplicationGatewayBackendSettingsPropertiesFormat>
Properties of Backend address pool settings of an application gateway.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayBackendSettingsPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayBackendSettingsPropertiesFormat from the JsonReader.hostname()Get the hostname property: Server name indication to be sent to the backend servers for Tls protocol.Get the pickHostnameFromBackendAddress property: Whether to pick server name indication from the host name of the backend server for Tls protocol.port()Get the port property: The destination port on the backend.com.azure.core.management.SubResourceprobe()Get the probe property: Probe resource of an application gateway.protocol()Get the protocol property: The protocol used to communicate with the backend.Get the provisioningState property: The provisioning state of the backend HTTP settings resource.timeout()Get the timeout property: Connection timeout in seconds.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) List<com.azure.core.management.SubResource> Get the trustedRootCertificates property: Array of references to application gateway trusted root certificates.voidvalidate()Validates the instance.withHostname(String hostname) Set the hostname property: Server name indication to be sent to the backend servers for Tls protocol.withPickHostnameFromBackendAddress(Boolean pickHostnameFromBackendAddress) Set the pickHostnameFromBackendAddress property: Whether to pick server name indication from the host name of the backend server for Tls protocol.Set the port property: The destination port on the backend.withProbe(com.azure.core.management.SubResource probe) Set the probe property: Probe resource of an application gateway.withProtocol(ApplicationGatewayProtocol protocol) Set the protocol property: The protocol used to communicate with the backend.withTimeout(Integer timeout) Set the timeout property: Connection timeout in seconds.withTrustedRootCertificates(List<com.azure.core.management.SubResource> trustedRootCertificates) Set the trustedRootCertificates property: Array of references to application gateway trusted root certificates.Methods inherited from class java.lang.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
-
ApplicationGatewayBackendSettingsPropertiesFormat
public ApplicationGatewayBackendSettingsPropertiesFormat()Creates an instance of ApplicationGatewayBackendSettingsPropertiesFormat class.
-
-
Method Details
-
port
Get the port property: The destination port on the backend.- Returns:
- the port value.
-
withPort
Set the port property: The destination port on the backend.- Parameters:
port- the port value to set.- Returns:
- the ApplicationGatewayBackendSettingsPropertiesFormat object itself.
-
protocol
Get the protocol property: The protocol used to communicate with the backend.- Returns:
- the protocol value.
-
withProtocol
public ApplicationGatewayBackendSettingsPropertiesFormat withProtocol(ApplicationGatewayProtocol protocol) Set the protocol property: The protocol used to communicate with the backend.- Parameters:
protocol- the protocol value to set.- Returns:
- the ApplicationGatewayBackendSettingsPropertiesFormat object itself.
-
timeout
Get the timeout property: Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds.- Returns:
- the timeout value.
-
withTimeout
Set the timeout property: Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds.- Parameters:
timeout- the timeout value to set.- Returns:
- the ApplicationGatewayBackendSettingsPropertiesFormat object itself.
-
probe
public com.azure.core.management.SubResource probe()Get the probe property: Probe resource of an application gateway.- Returns:
- the probe value.
-
withProbe
public ApplicationGatewayBackendSettingsPropertiesFormat withProbe(com.azure.core.management.SubResource probe) Set the probe property: Probe resource of an application gateway.- Parameters:
probe- the probe value to set.- Returns:
- the ApplicationGatewayBackendSettingsPropertiesFormat object itself.
-
trustedRootCertificates
Get the trustedRootCertificates property: Array of references to application gateway trusted root certificates.- Returns:
- the trustedRootCertificates value.
-
withTrustedRootCertificates
public ApplicationGatewayBackendSettingsPropertiesFormat withTrustedRootCertificates(List<com.azure.core.management.SubResource> trustedRootCertificates) Set the trustedRootCertificates property: Array of references to application gateway trusted root certificates.- Parameters:
trustedRootCertificates- the trustedRootCertificates value to set.- Returns:
- the ApplicationGatewayBackendSettingsPropertiesFormat object itself.
-
hostname
Get the hostname property: Server name indication to be sent to the backend servers for Tls protocol.- Returns:
- the hostname value.
-
withHostname
Set the hostname property: Server name indication to be sent to the backend servers for Tls protocol.- Parameters:
hostname- the hostname value to set.- Returns:
- the ApplicationGatewayBackendSettingsPropertiesFormat object itself.
-
pickHostnameFromBackendAddress
Get the pickHostnameFromBackendAddress property: Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false.- Returns:
- the pickHostnameFromBackendAddress value.
-
withPickHostnameFromBackendAddress
public ApplicationGatewayBackendSettingsPropertiesFormat withPickHostnameFromBackendAddress(Boolean pickHostnameFromBackendAddress) Set the pickHostnameFromBackendAddress property: Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false.- Parameters:
pickHostnameFromBackendAddress- the pickHostnameFromBackendAddress value to set.- Returns:
- the ApplicationGatewayBackendSettingsPropertiesFormat object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the backend HTTP settings resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApplicationGatewayBackendSettingsPropertiesFormat>- Throws:
IOException
-
fromJson
public static ApplicationGatewayBackendSettingsPropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApplicationGatewayBackendSettingsPropertiesFormat from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApplicationGatewayBackendSettingsPropertiesFormat 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 ApplicationGatewayBackendSettingsPropertiesFormat.
-