All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.network.ApplicationGatewayAutoscaleConfiguration Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * 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.fasterxml.jackson.annotation.JsonProperty;

/**
 * Application Gateway autoscale configuration.
 */
public class ApplicationGatewayAutoscaleConfiguration {
    /**
     * Lower bound on number of Application Gateway capacity.
     */
    @JsonProperty(value = "minCapacity", required = true)
    private int minCapacity;

    /**
     * Upper bound on number of Application Gateway capacity.
     */
    @JsonProperty(value = "maxCapacity")
    private Integer maxCapacity;

    /**
     * Get lower bound on number of Application Gateway capacity.
     *
     * @return the minCapacity value
     */
    public int minCapacity() {
        return this.minCapacity;
    }

    /**
     * Set lower bound on number of Application Gateway capacity.
     *
     * @param minCapacity the minCapacity value to set
     * @return the ApplicationGatewayAutoscaleConfiguration object itself.
     */
    public ApplicationGatewayAutoscaleConfiguration withMinCapacity(int minCapacity) {
        this.minCapacity = minCapacity;
        return this;
    }

    /**
     * Get upper bound on number of Application Gateway capacity.
     *
     * @return the maxCapacity value
     */
    public Integer maxCapacity() {
        return this.maxCapacity;
    }

    /**
     * Set upper bound on number of Application Gateway capacity.
     *
     * @param maxCapacity the maxCapacity value to set
     * @return the ApplicationGatewayAutoscaleConfiguration object itself.
     */
    public ApplicationGatewayAutoscaleConfiguration withMaxCapacity(Integer maxCapacity) {
        this.maxCapacity = maxCapacity;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy