// *** 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;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AttachedClusterLoggingConfigComponentConfigArgs Empty = new AttachedClusterLoggingConfigComponentConfigArgs();

    /**
     * The components to be enabled.
     * Each value may be one of: `SYSTEM_COMPONENTS`, `WORKLOADS`.
     * 
     */
    @Import(name="enableComponents")
    private @Nullable Output<List<String>> enableComponents;

    /**
     * @return The components to be enabled.
     * Each value may be one of: `SYSTEM_COMPONENTS`, `WORKLOADS`.
     * 
     */
    public Optional<Output<List<String>>> enableComponents() {
        return Optional.ofNullable(this.enableComponents);
    }

    private AttachedClusterLoggingConfigComponentConfigArgs() {}

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

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

    public static final class Builder {
        private AttachedClusterLoggingConfigComponentConfigArgs $;

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

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

        /**
         * @param enableComponents The components to be enabled.
         * Each value may be one of: `SYSTEM_COMPONENTS`, `WORKLOADS`.
         * 
         * @return builder
         * 
         */
        public Builder enableComponents(@Nullable Output<List<String>> enableComponents) {
            $.enableComponents = enableComponents;
            return this;
        }

        /**
         * @param enableComponents The components to be enabled.
         * Each value may be one of: `SYSTEM_COMPONENTS`, `WORKLOADS`.
         * 
         * @return builder
         * 
         */
        public Builder enableComponents(List<String> enableComponents) {
            return enableComponents(Output.of(enableComponents));
        }

        /**
         * @param enableComponents The components to be enabled.
         * Each value may be one of: `SYSTEM_COMPONENTS`, `WORKLOADS`.
         * 
         * @return builder
         * 
         */
        public Builder enableComponents(String... enableComponents) {
            return enableComponents(List.of(enableComponents));
        }

        public AttachedClusterLoggingConfigComponentConfigArgs build() {
            return $;
        }
    }

}
