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

package com.azure.resourcemanager.extendedlocation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** This is optional input that contains the authentication that should be used to generate the namespace. */
@Fluent
public final class CustomLocationPropertiesAuthentication {
    /*
     * The type of the Custom Locations authentication
     */
    @JsonProperty(value = "type")
    private String type;

    /*
     * The kubeconfig value.
     */
    @JsonProperty(value = "value")
    private String value;

    /**
     * Get the type property: The type of the Custom Locations authentication.
     *
     * @return the type value.
     */
    public String type() {
        return this.type;
    }

    /**
     * Set the type property: The type of the Custom Locations authentication.
     *
     * @param type the type value to set.
     * @return the CustomLocationPropertiesAuthentication object itself.
     */
    public CustomLocationPropertiesAuthentication withType(String type) {
        this.type = type;
        return this;
    }

    /**
     * Get the value property: The kubeconfig value.
     *
     * @return the value value.
     */
    public String value() {
        return this.value;
    }

    /**
     * Set the value property: The kubeconfig value.
     *
     * @param value the value value to set.
     * @return the CustomLocationPropertiesAuthentication object itself.
     */
    public CustomLocationPropertiesAuthentication withValue(String value) {
        this.value = value;
        return this;
    }

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