com.azure.resourcemanager.network.fluent.models.ApplicationGatewayBackendHealthInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-network Show documentation
Show all versions of azure-resourcemanager-network Show documentation
This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.network.models.ApplicationGatewayBackendHealthPool;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* Response for ApplicationGatewayBackendHealth API service call.
*/
@Fluent
public final class ApplicationGatewayBackendHealthInner {
/*
* A list of ApplicationGatewayBackendHealthPool resources.
*/
@JsonProperty(value = "backendAddressPools")
private List backendAddressPools;
/**
* Creates an instance of ApplicationGatewayBackendHealthInner class.
*/
public ApplicationGatewayBackendHealthInner() {
}
/**
* Get the backendAddressPools property: A list of ApplicationGatewayBackendHealthPool resources.
*
* @return the backendAddressPools value.
*/
public List backendAddressPools() {
return this.backendAddressPools;
}
/**
* Set the backendAddressPools property: A list of ApplicationGatewayBackendHealthPool resources.
*
* @param backendAddressPools the backendAddressPools value to set.
* @return the ApplicationGatewayBackendHealthInner object itself.
*/
public ApplicationGatewayBackendHealthInner
withBackendAddressPools(List backendAddressPools) {
this.backendAddressPools = backendAddressPools;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (backendAddressPools() != null) {
backendAddressPools().forEach(e -> e.validate());
}
}
}