Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network;
import com.microsoft.azure.management.network.implementation.NetworkInterfaceIPConfigurationInner;
import com.fasterxml.jackson.annotation.JsonProperty;
Application gateway backendhealth http settings.
/**
* Application gateway backendhealth http settings.
*/
public class ApplicationGatewayBackendHealthServer {
IP address or FQDN of backend server.
/**
* IP address or FQDN of backend server.
*/
@JsonProperty(value = "address")
private String address;
Reference to IP configuration of backend server.
/**
* Reference to IP configuration of backend server.
*/
@JsonProperty(value = "ipConfiguration")
private NetworkInterfaceIPConfigurationInner ipConfiguration;
Health of backend server. Possible values include: 'Unknown', 'Up',
'Down', 'Partial', 'Draining'.
/**
* Health of backend server. Possible values include: 'Unknown', 'Up',
* 'Down', 'Partial', 'Draining'.
*/
@JsonProperty(value = "health")
private ApplicationGatewayBackendHealthServerHealth health;
Health Probe Log.
/**
* Health Probe Log.
*/
@JsonProperty(value = "healthProbeLog")
private String healthProbeLog;
Get iP address or FQDN of backend server.
Returns: the address value
/**
* Get iP address or FQDN of backend server.
*
* @return the address value
*/
public String address() {
return this.address;
}
Set iP address or FQDN of backend server.
Params: - address – the address value to set
Returns: the ApplicationGatewayBackendHealthServer object itself.
/**
* Set iP address or FQDN of backend server.
*
* @param address the address value to set
* @return the ApplicationGatewayBackendHealthServer object itself.
*/
public ApplicationGatewayBackendHealthServer withAddress(String address) {
this.address = address;
return this;
}
Get reference to IP configuration of backend server.
Returns: the ipConfiguration value
/**
* Get reference to IP configuration of backend server.
*
* @return the ipConfiguration value
*/
public NetworkInterfaceIPConfigurationInner ipConfiguration() {
return this.ipConfiguration;
}
Set reference to IP configuration of backend server.
Params: - ipConfiguration – the ipConfiguration value to set
Returns: the ApplicationGatewayBackendHealthServer object itself.
/**
* Set reference to IP configuration of backend server.
*
* @param ipConfiguration the ipConfiguration value to set
* @return the ApplicationGatewayBackendHealthServer object itself.
*/
public ApplicationGatewayBackendHealthServer withIpConfiguration(NetworkInterfaceIPConfigurationInner ipConfiguration) {
this.ipConfiguration = ipConfiguration;
return this;
}
Get health of backend server. Possible values include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'.
Returns: the health value
/**
* Get health of backend server. Possible values include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'.
*
* @return the health value
*/
public ApplicationGatewayBackendHealthServerHealth health() {
return this.health;
}
Set health of backend server. Possible values include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'.
Params: - health – the health value to set
Returns: the ApplicationGatewayBackendHealthServer object itself.
/**
* Set health of backend server. Possible values include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'.
*
* @param health the health value to set
* @return the ApplicationGatewayBackendHealthServer object itself.
*/
public ApplicationGatewayBackendHealthServer withHealth(ApplicationGatewayBackendHealthServerHealth health) {
this.health = health;
return this;
}
Get health Probe Log.
Returns: the healthProbeLog value
/**
* Get health Probe Log.
*
* @return the healthProbeLog value
*/
public String healthProbeLog() {
return this.healthProbeLog;
}
Set health Probe Log.
Params: - healthProbeLog – the healthProbeLog value to set
Returns: the ApplicationGatewayBackendHealthServer object itself.
/**
* Set health Probe Log.
*
* @param healthProbeLog the healthProbeLog value to set
* @return the ApplicationGatewayBackendHealthServer object itself.
*/
public ApplicationGatewayBackendHealthServer withHealthProbeLog(String healthProbeLog) {
this.healthProbeLog = healthProbeLog;
return this;
}
}