/** * 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.batch.protocol.models; import org.joda.time.Period; /** * Parameters for a CloudPoolOperations.EnableAutoScale request. */ public class PoolEnableAutoScaleParameter { /** * The formula for the desired number of compute nodes in the pool. */ private String autoScaleFormula; /** * A time interval for the desired autoscale evaluation period in the pool. */ private Period autoScaleEvaluationInterval; /** * Get the autoScaleFormula value. * * @return the autoScaleFormula value */ public String autoScaleFormula() { return this.autoScaleFormula; } /** * Set the autoScaleFormula value. * * @param autoScaleFormula the autoScaleFormula value to set * @return the PoolEnableAutoScaleParameter object itself. */ public PoolEnableAutoScaleParameter withAutoScaleFormula(String autoScaleFormula) { this.autoScaleFormula = autoScaleFormula; return this; } /** * Get the autoScaleEvaluationInterval value. * * @return the autoScaleEvaluationInterval value */ public Period autoScaleEvaluationInterval() { return this.autoScaleEvaluationInterval; } /** * Set the autoScaleEvaluationInterval value. * * @param autoScaleEvaluationInterval the autoScaleEvaluationInterval value to set * @return the PoolEnableAutoScaleParameter object itself. */ public PoolEnableAutoScaleParameter withAutoScaleEvaluationInterval(Period autoScaleEvaluationInterval) { this.autoScaleEvaluationInterval = autoScaleEvaluationInterval; return this; } }