// 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 definition of a Docker container. */
@Immutable
public final class ModelEnvironmentDefinitionDocker extends ModelDockerSection {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(ModelEnvironmentDefinitionDocker.class);

    /** {@inheritDoc} */
    @Override
    public ModelEnvironmentDefinitionDocker withBaseImage(String baseImage) {
        super.withBaseImage(baseImage);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ModelEnvironmentDefinitionDocker withBaseDockerfile(String baseDockerfile) {
        super.withBaseDockerfile(baseDockerfile);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ModelEnvironmentDefinitionDocker withBaseImageRegistry(
        ModelDockerSectionBaseImageRegistry baseImageRegistry) {
        super.withBaseImageRegistry(baseImageRegistry);
        return this;
    }

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