All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.kubernetes.inputs.ListConnectedClusterUserCredentialsPlainArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.kubernetes.inputs;

import com.pulumi.azurenative.kubernetes.enums.AuthenticationMethod;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;


public final class ListConnectedClusterUserCredentialsPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final ListConnectedClusterUserCredentialsPlainArgs Empty = new ListConnectedClusterUserCredentialsPlainArgs();

    /**
     * The mode of client authentication.
     * 
     */
    @Import(name="authenticationMethod", required=true)
    private Either authenticationMethod;

    /**
     * @return The mode of client authentication.
     * 
     */
    public Either authenticationMethod() {
        return this.authenticationMethod;
    }

    /**
     * Boolean value to indicate whether the request is for client side proxy or not
     * 
     */
    @Import(name="clientProxy", required=true)
    private Boolean clientProxy;

    /**
     * @return Boolean value to indicate whether the request is for client side proxy or not
     * 
     */
    public Boolean clientProxy() {
        return this.clientProxy;
    }

    /**
     * The name of the Kubernetes cluster on which get is called.
     * 
     */
    @Import(name="clusterName", required=true)
    private String clusterName;

    /**
     * @return The name of the Kubernetes cluster on which get is called.
     * 
     */
    public String clusterName() {
        return this.clusterName;
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private ListConnectedClusterUserCredentialsPlainArgs() {}

    private ListConnectedClusterUserCredentialsPlainArgs(ListConnectedClusterUserCredentialsPlainArgs $) {
        this.authenticationMethod = $.authenticationMethod;
        this.clientProxy = $.clientProxy;
        this.clusterName = $.clusterName;
        this.resourceGroupName = $.resourceGroupName;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ListConnectedClusterUserCredentialsPlainArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ListConnectedClusterUserCredentialsPlainArgs $;

        public Builder() {
            $ = new ListConnectedClusterUserCredentialsPlainArgs();
        }

        public Builder(ListConnectedClusterUserCredentialsPlainArgs defaults) {
            $ = new ListConnectedClusterUserCredentialsPlainArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param authenticationMethod The mode of client authentication.
         * 
         * @return builder
         * 
         */
        public Builder authenticationMethod(Either authenticationMethod) {
            $.authenticationMethod = authenticationMethod;
            return this;
        }

        /**
         * @param authenticationMethod The mode of client authentication.
         * 
         * @return builder
         * 
         */
        public Builder authenticationMethod(String authenticationMethod) {
            return authenticationMethod(Either.ofLeft(authenticationMethod));
        }

        /**
         * @param authenticationMethod The mode of client authentication.
         * 
         * @return builder
         * 
         */
        public Builder authenticationMethod(AuthenticationMethod authenticationMethod) {
            return authenticationMethod(Either.ofRight(authenticationMethod));
        }

        /**
         * @param clientProxy Boolean value to indicate whether the request is for client side proxy or not
         * 
         * @return builder
         * 
         */
        public Builder clientProxy(Boolean clientProxy) {
            $.clientProxy = clientProxy;
            return this;
        }

        /**
         * @param clusterName The name of the Kubernetes cluster on which get is called.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(String clusterName) {
            $.clusterName = clusterName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public ListConnectedClusterUserCredentialsPlainArgs build() {
            if ($.authenticationMethod == null) {
                throw new MissingRequiredPropertyException("ListConnectedClusterUserCredentialsPlainArgs", "authenticationMethod");
            }
            if ($.clientProxy == null) {
                throw new MissingRequiredPropertyException("ListConnectedClusterUserCredentialsPlainArgs", "clientProxy");
            }
            if ($.clusterName == null) {
                throw new MissingRequiredPropertyException("ListConnectedClusterUserCredentialsPlainArgs", "clusterName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ListConnectedClusterUserCredentialsPlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy