// *** 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 com.pulumi.gcp.container.inputs.ClusterProtectConfigWorkloadConfigArgs;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ClusterProtectConfigArgs Empty = new ClusterProtectConfigArgs();

    /**
     * ) WorkloadConfig defines which actions are enabled for a cluster&#39;s workload configurations. Structure is documented below
     * 
     */
    @Import(name="workloadConfig")
    private @Nullable Output<ClusterProtectConfigWorkloadConfigArgs> workloadConfig;

    /**
     * @return ) WorkloadConfig defines which actions are enabled for a cluster&#39;s workload configurations. Structure is documented below
     * 
     */
    public Optional<Output<ClusterProtectConfigWorkloadConfigArgs>> workloadConfig() {
        return Optional.ofNullable(this.workloadConfig);
    }

    /**
     * ) Sets which mode to use for Protect workload vulnerability scanning feature. Accepted values are DISABLED, BASIC.
     * 
     */
    @Import(name="workloadVulnerabilityMode")
    private @Nullable Output<String> workloadVulnerabilityMode;

    /**
     * @return ) Sets which mode to use for Protect workload vulnerability scanning feature. Accepted values are DISABLED, BASIC.
     * 
     */
    public Optional<Output<String>> workloadVulnerabilityMode() {
        return Optional.ofNullable(this.workloadVulnerabilityMode);
    }

    private ClusterProtectConfigArgs() {}

    private ClusterProtectConfigArgs(ClusterProtectConfigArgs $) {
        this.workloadConfig = $.workloadConfig;
        this.workloadVulnerabilityMode = $.workloadVulnerabilityMode;
    }

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

    public static final class Builder {
        private ClusterProtectConfigArgs $;

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

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

        /**
         * @param workloadConfig ) WorkloadConfig defines which actions are enabled for a cluster&#39;s workload configurations. Structure is documented below
         * 
         * @return builder
         * 
         */
        public Builder workloadConfig(@Nullable Output<ClusterProtectConfigWorkloadConfigArgs> workloadConfig) {
            $.workloadConfig = workloadConfig;
            return this;
        }

        /**
         * @param workloadConfig ) WorkloadConfig defines which actions are enabled for a cluster&#39;s workload configurations. Structure is documented below
         * 
         * @return builder
         * 
         */
        public Builder workloadConfig(ClusterProtectConfigWorkloadConfigArgs workloadConfig) {
            return workloadConfig(Output.of(workloadConfig));
        }

        /**
         * @param workloadVulnerabilityMode ) Sets which mode to use for Protect workload vulnerability scanning feature. Accepted values are DISABLED, BASIC.
         * 
         * @return builder
         * 
         */
        public Builder workloadVulnerabilityMode(@Nullable Output<String> workloadVulnerabilityMode) {
            $.workloadVulnerabilityMode = workloadVulnerabilityMode;
            return this;
        }

        /**
         * @param workloadVulnerabilityMode ) Sets which mode to use for Protect workload vulnerability scanning feature. Accepted values are DISABLED, BASIC.
         * 
         * @return builder
         * 
         */
        public Builder workloadVulnerabilityMode(String workloadVulnerabilityMode) {
            return workloadVulnerabilityMode(Output.of(workloadVulnerabilityMode));
        }

        public ClusterProtectConfigArgs build() {
            return $;
        }
    }

}
