// 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 com.fasterxml.jackson.annotation.JsonProperty;

/** Batch endpoint default values. */
@Fluent
public final class BatchEndpointDefaults {
    /*
     * Name of the deployment that will be default for the endpoint.
     * This deployment will end up getting 100% traffic when the endpoint scoring URL is invoked.
     */
    @JsonProperty(value = "deploymentName")
    private String deploymentName;

    /** Creates an instance of BatchEndpointDefaults class. */
    public BatchEndpointDefaults() {
    }

    /**
     * Get the deploymentName property: Name of the deployment that will be default for the endpoint. This deployment
     * will end up getting 100% traffic when the endpoint scoring URL is invoked.
     *
     * @return the deploymentName value.
     */
    public String deploymentName() {
        return this.deploymentName;
    }

    /**
     * Set the deploymentName property: Name of the deployment that will be default for the endpoint. This deployment
     * will end up getting 100% traffic when the endpoint scoring URL is invoked.
     *
     * @param deploymentName the deploymentName value to set.
     * @return the BatchEndpointDefaults object itself.
     */
    public BatchEndpointDefaults withDeploymentName(String deploymentName) {
        this.deploymentName = deploymentName;
        return this;
    }

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