sdk/java/src/main/java/com/pulumi/ovh/CloudProject/inputs/KubeKubeconfigAttributeArgs.java
// *** 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.ovh.CloudProject.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class KubeKubeconfigAttributeArgs extends com.pulumi.resources.ResourceArgs {

    public static final KubeKubeconfigAttributeArgs Empty = new KubeKubeconfigAttributeArgs();

    /**
     * The kubernetes API server client certificate.
     * 
     */
    @Import(name="clientCertificate")
    private @Nullable Output<String> clientCertificate;

    /**
     * @return The kubernetes API server client certificate.
     * 
     */
    public Optional<Output<String>> clientCertificate() {
        return Optional.ofNullable(this.clientCertificate);
    }

    /**
     * The kubernetes API server client key.
     * 
     */
    @Import(name="clientKey")
    private @Nullable Output<String> clientKey;

    /**
     * @return The kubernetes API server client key.
     * 
     */
    public Optional<Output<String>> clientKey() {
        return Optional.ofNullable(this.clientKey);
    }

    /**
     * The kubernetes API server CA certificate.
     * 
     */
    @Import(name="clusterCaCertificate")
    private @Nullable Output<String> clusterCaCertificate;

    /**
     * @return The kubernetes API server CA certificate.
     * 
     */
    public Optional<Output<String>> clusterCaCertificate() {
        return Optional.ofNullable(this.clusterCaCertificate);
    }

    /**
     * The kubernetes API server URL.
     * 
     */
    @Import(name="host")
    private @Nullable Output<String> host;

    /**
     * @return The kubernetes API server URL.
     * 
     */
    public Optional<Output<String>> host() {
        return Optional.ofNullable(this.host);
    }

    private KubeKubeconfigAttributeArgs() {}

    private KubeKubeconfigAttributeArgs(KubeKubeconfigAttributeArgs $) {
        this.clientCertificate = $.clientCertificate;
        this.clientKey = $.clientKey;
        this.clusterCaCertificate = $.clusterCaCertificate;
        this.host = $.host;
    }

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

    public static final class Builder {
        private KubeKubeconfigAttributeArgs $;

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

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

        /**
         * @param clientCertificate The kubernetes API server client certificate.
         * 
         * @return builder
         * 
         */
        public Builder clientCertificate(@Nullable Output<String> clientCertificate) {
            $.clientCertificate = clientCertificate;
            return this;
        }

        /**
         * @param clientCertificate The kubernetes API server client certificate.
         * 
         * @return builder
         * 
         */
        public Builder clientCertificate(String clientCertificate) {
            return clientCertificate(Output.of(clientCertificate));
        }

        /**
         * @param clientKey The kubernetes API server client key.
         * 
         * @return builder
         * 
         */
        public Builder clientKey(@Nullable Output<String> clientKey) {
            $.clientKey = clientKey;
            return this;
        }

        /**
         * @param clientKey The kubernetes API server client key.
         * 
         * @return builder
         * 
         */
        public Builder clientKey(String clientKey) {
            return clientKey(Output.of(clientKey));
        }

        /**
         * @param clusterCaCertificate The kubernetes API server CA certificate.
         * 
         * @return builder
         * 
         */
        public Builder clusterCaCertificate(@Nullable Output<String> clusterCaCertificate) {
            $.clusterCaCertificate = clusterCaCertificate;
            return this;
        }

        /**
         * @param clusterCaCertificate The kubernetes API server CA certificate.
         * 
         * @return builder
         * 
         */
        public Builder clusterCaCertificate(String clusterCaCertificate) {
            return clusterCaCertificate(Output.of(clusterCaCertificate));
        }

        /**
         * @param host The kubernetes API server URL.
         * 
         * @return builder
         * 
         */
        public Builder host(@Nullable Output<String> host) {
            $.host = host;
            return this;
        }

        /**
         * @param host The kubernetes API server URL.
         * 
         * @return builder
         * 
         */
        public Builder host(String host) {
            return host(Output.of(host));
        }

        public KubeKubeconfigAttributeArgs build() {
            return $;
        }
    }

}
