// *** 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.gkebackup.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 BackupPlanBackupConfigSelectedNamespacesArgs extends com.pulumi.resources.ResourceArgs {

    public static final BackupPlanBackupConfigSelectedNamespacesArgs Empty = new BackupPlanBackupConfigSelectedNamespacesArgs();

    /**
     * A list of Kubernetes Namespaces.
     * 
     */
    @Import(name="namespaces", required=true)
    private Output<List<String>> namespaces;

    /**
     * @return A list of Kubernetes Namespaces.
     * 
     */
    public Output<List<String>> namespaces() {
        return this.namespaces;
    }

    private BackupPlanBackupConfigSelectedNamespacesArgs() {}

    private BackupPlanBackupConfigSelectedNamespacesArgs(BackupPlanBackupConfigSelectedNamespacesArgs $) {
        this.namespaces = $.namespaces;
    }

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

    public static final class Builder {
        private BackupPlanBackupConfigSelectedNamespacesArgs $;

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

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

        /**
         * @param namespaces A list of Kubernetes Namespaces.
         * 
         * @return builder
         * 
         */
        public Builder namespaces(Output<List<String>> namespaces) {
            $.namespaces = namespaces;
            return this;
        }

        /**
         * @param namespaces A list of Kubernetes Namespaces.
         * 
         * @return builder
         * 
         */
        public Builder namespaces(List<String> namespaces) {
            return namespaces(Output.of(namespaces));
        }

        /**
         * @param namespaces A list of Kubernetes Namespaces.
         * 
         * @return builder
         * 
         */
        public Builder namespaces(String... namespaces) {
            return namespaces(List.of(namespaces));
        }

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

}
