// *** 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.gcp.container.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;


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

    public static final ClusterLoggingConfigArgs Empty = new ClusterLoggingConfigArgs();

    /**
     * The GKE components exposing logs. Supported values include:
     * `SYSTEM_COMPONENTS`, `APISERVER`, `CONTROLLER_MANAGER`, `SCHEDULER`, and `WORKLOADS`.
     * 
     */
    @Import(name="enableComponents", required=true)
    private Output<List<String>> enableComponents;

    /**
     * @return The GKE components exposing logs. Supported values include:
     * `SYSTEM_COMPONENTS`, `APISERVER`, `CONTROLLER_MANAGER`, `SCHEDULER`, and `WORKLOADS`.
     * 
     */
    public Output<List<String>> enableComponents() {
        return this.enableComponents;
    }

    private ClusterLoggingConfigArgs() {}

    private ClusterLoggingConfigArgs(ClusterLoggingConfigArgs $) {
        this.enableComponents = $.enableComponents;
    }

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

    public static final class Builder {
        private ClusterLoggingConfigArgs $;

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

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

        /**
         * @param enableComponents The GKE components exposing logs. Supported values include:
         * `SYSTEM_COMPONENTS`, `APISERVER`, `CONTROLLER_MANAGER`, `SCHEDULER`, and `WORKLOADS`.
         * 
         * @return builder
         * 
         */
        public Builder enableComponents(Output<List<String>> enableComponents) {
            $.enableComponents = enableComponents;
            return this;
        }

        /**
         * @param enableComponents The GKE components exposing logs. Supported values include:
         * `SYSTEM_COMPONENTS`, `APISERVER`, `CONTROLLER_MANAGER`, `SCHEDULER`, and `WORKLOADS`.
         * 
         * @return builder
         * 
         */
        public Builder enableComponents(List<String> enableComponents) {
            return enableComponents(Output.of(enableComponents));
        }

        /**
         * @param enableComponents The GKE components exposing logs. Supported values include:
         * `SYSTEM_COMPONENTS`, `APISERVER`, `CONTROLLER_MANAGER`, `SCHEDULER`, and `WORKLOADS`.
         * 
         * @return builder
         * 
         */
        public Builder enableComponents(String... enableComponents) {
            return enableComponents(List.of(enableComponents));
        }

        public ClusterLoggingConfigArgs build() {
            $.enableComponents = Objects.requireNonNull($.enableComponents, "expected parameter 'enableComponents' to be non-null");
            return $;
        }
    }

}
