// *** 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.azure.network.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 NetworkManagerCrossTenantScopeArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetworkManagerCrossTenantScopeArgs Empty = new NetworkManagerCrossTenantScopeArgs();

    /**
     * List of management groups.
     * 
     */
    @Import(name="managementGroups")
    private @Nullable Output<List<String>> managementGroups;

    /**
     * @return List of management groups.
     * 
     */
    public Optional<Output<List<String>>> managementGroups() {
        return Optional.ofNullable(this.managementGroups);
    }

    /**
     * List of subscriptions.
     * 
     */
    @Import(name="subscriptions")
    private @Nullable Output<List<String>> subscriptions;

    /**
     * @return List of subscriptions.
     * 
     */
    public Optional<Output<List<String>>> subscriptions() {
        return Optional.ofNullable(this.subscriptions);
    }

    /**
     * Tenant ID.
     * 
     */
    @Import(name="tenantId")
    private @Nullable Output<String> tenantId;

    /**
     * @return Tenant ID.
     * 
     */
    public Optional<Output<String>> tenantId() {
        return Optional.ofNullable(this.tenantId);
    }

    private NetworkManagerCrossTenantScopeArgs() {}

    private NetworkManagerCrossTenantScopeArgs(NetworkManagerCrossTenantScopeArgs $) {
        this.managementGroups = $.managementGroups;
        this.subscriptions = $.subscriptions;
        this.tenantId = $.tenantId;
    }

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

    public static final class Builder {
        private NetworkManagerCrossTenantScopeArgs $;

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

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

        /**
         * @param managementGroups List of management groups.
         * 
         * @return builder
         * 
         */
        public Builder managementGroups(@Nullable Output<List<String>> managementGroups) {
            $.managementGroups = managementGroups;
            return this;
        }

        /**
         * @param managementGroups List of management groups.
         * 
         * @return builder
         * 
         */
        public Builder managementGroups(List<String> managementGroups) {
            return managementGroups(Output.of(managementGroups));
        }

        /**
         * @param managementGroups List of management groups.
         * 
         * @return builder
         * 
         */
        public Builder managementGroups(String... managementGroups) {
            return managementGroups(List.of(managementGroups));
        }

        /**
         * @param subscriptions List of subscriptions.
         * 
         * @return builder
         * 
         */
        public Builder subscriptions(@Nullable Output<List<String>> subscriptions) {
            $.subscriptions = subscriptions;
            return this;
        }

        /**
         * @param subscriptions List of subscriptions.
         * 
         * @return builder
         * 
         */
        public Builder subscriptions(List<String> subscriptions) {
            return subscriptions(Output.of(subscriptions));
        }

        /**
         * @param subscriptions List of subscriptions.
         * 
         * @return builder
         * 
         */
        public Builder subscriptions(String... subscriptions) {
            return subscriptions(List.of(subscriptions));
        }

        /**
         * @param tenantId Tenant ID.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(@Nullable Output<String> tenantId) {
            $.tenantId = tenantId;
            return this;
        }

        /**
         * @param tenantId Tenant ID.
         * 
         * @return builder
         * 
         */
        public Builder tenantId(String tenantId) {
            return tenantId(Output.of(tenantId));
        }

        public NetworkManagerCrossTenantScopeArgs build() {
            return $;
        }
    }

}
