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

package com.azure.resourcemanager.machinelearning.models;

import com.azure.core.annotation.Fluent;
import java.util.Map;

/** The DeploymentResourceConfiguration model. */
@Fluent
public final class DeploymentResourceConfiguration extends ResourceConfiguration {
    /** Creates an instance of DeploymentResourceConfiguration class. */
    public DeploymentResourceConfiguration() {
    }

    /** {@inheritDoc} */
    @Override
    public DeploymentResourceConfiguration withInstanceCount(Integer instanceCount) {
        super.withInstanceCount(instanceCount);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public DeploymentResourceConfiguration withInstanceType(String instanceType) {
        super.withInstanceType(instanceType);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public DeploymentResourceConfiguration withProperties(Map<String, Object> properties) {
        super.withProperties(properties);
        return this;
    }

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