// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.machinelearningservices.models;

import com.azure.core.annotation.Immutable;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;

/** The auto scaler properties. */
@Immutable
public final class AksServiceCreateRequestAutoScaler extends AutoScaler {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(AksServiceCreateRequestAutoScaler.class);

    /** {@inheritDoc} */
    @Override
    public AksServiceCreateRequestAutoScaler withAutoscaleEnabled(Boolean autoscaleEnabled) {
        super.withAutoscaleEnabled(autoscaleEnabled);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public AksServiceCreateRequestAutoScaler withMinReplicas(Integer minReplicas) {
        super.withMinReplicas(minReplicas);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public AksServiceCreateRequestAutoScaler withMaxReplicas(Integer maxReplicas) {
        super.withMaxReplicas(maxReplicas);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public AksServiceCreateRequestAutoScaler withTargetUtilization(Integer targetUtilization) {
        super.withTargetUtilization(targetUtilization);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public AksServiceCreateRequestAutoScaler withRefreshPeriodInSeconds(Integer refreshPeriodInSeconds) {
        super.withRefreshPeriodInSeconds(refreshPeriodInSeconds);
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    @Override
    public void validate() {
        super.validate();
    }
}
