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

import com.pulumi.azure.containerservice.inputs.KubernetesFleetManagerHubProfileArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final KubernetesFleetManagerState Empty = new KubernetesFleetManagerState();

    /**
     * A `hub_profile` block as defined below. The FleetHubProfile configures the Fleet&#39;s hub. Changing this forces a new Kubernetes Fleet Manager to be created.
     * 
     */
    @Import(name="hubProfile")
    private @Nullable Output<KubernetesFleetManagerHubProfileArgs> hubProfile;

    /**
     * @return A `hub_profile` block as defined below. The FleetHubProfile configures the Fleet&#39;s hub. Changing this forces a new Kubernetes Fleet Manager to be created.
     * 
     */
    public Optional<Output<KubernetesFleetManagerHubProfileArgs>> hubProfile() {
        return Optional.ofNullable(this.hubProfile);
    }

    /**
     * The Azure Region where the Kubernetes Fleet Manager should exist. Changing this forces a new Kubernetes Fleet Manager to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output<String> location;

    /**
     * @return The Azure Region where the Kubernetes Fleet Manager should exist. Changing this forces a new Kubernetes Fleet Manager to be created.
     * 
     */
    public Optional<Output<String>> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Specifies the name of this Kubernetes Fleet Manager. Changing this forces a new Kubernetes Fleet Manager to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output<String> name;

    /**
     * @return Specifies the name of this Kubernetes Fleet Manager. Changing this forces a new Kubernetes Fleet Manager to be created.
     * 
     */
    public Optional<Output<String>> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies the name of the Resource Group within which this Kubernetes Fleet Manager should exist. Changing this forces a new Kubernetes Fleet Manager to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output<String> resourceGroupName;

    /**
     * @return Specifies the name of the Resource Group within which this Kubernetes Fleet Manager should exist. Changing this forces a new Kubernetes Fleet Manager to be created.
     * 
     */
    public Optional<Output<String>> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * A mapping of tags which should be assigned to the Kubernetes Fleet Manager.
     * 
     */
    @Import(name="tags")
    private @Nullable Output<Map<String,String>> tags;

    /**
     * @return A mapping of tags which should be assigned to the Kubernetes Fleet Manager.
     * 
     */
    public Optional<Output<Map<String,String>>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private KubernetesFleetManagerState() {}

    private KubernetesFleetManagerState(KubernetesFleetManagerState $) {
        this.hubProfile = $.hubProfile;
        this.location = $.location;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private KubernetesFleetManagerState $;

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

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

        /**
         * @param hubProfile A `hub_profile` block as defined below. The FleetHubProfile configures the Fleet&#39;s hub. Changing this forces a new Kubernetes Fleet Manager to be created.
         * 
         * @return builder
         * 
         */
        public Builder hubProfile(@Nullable Output<KubernetesFleetManagerHubProfileArgs> hubProfile) {
            $.hubProfile = hubProfile;
            return this;
        }

        /**
         * @param hubProfile A `hub_profile` block as defined below. The FleetHubProfile configures the Fleet&#39;s hub. Changing this forces a new Kubernetes Fleet Manager to be created.
         * 
         * @return builder
         * 
         */
        public Builder hubProfile(KubernetesFleetManagerHubProfileArgs hubProfile) {
            return hubProfile(Output.of(hubProfile));
        }

        /**
         * @param location The Azure Region where the Kubernetes Fleet Manager should exist. Changing this forces a new Kubernetes Fleet Manager to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output<String> location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The Azure Region where the Kubernetes Fleet Manager should exist. Changing this forces a new Kubernetes Fleet Manager to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name Specifies the name of this Kubernetes Fleet Manager. Changing this forces a new Kubernetes Fleet Manager to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of this Kubernetes Fleet Manager. Changing this forces a new Kubernetes Fleet Manager to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName Specifies the name of the Resource Group within which this Kubernetes Fleet Manager should exist. Changing this forces a new Kubernetes Fleet Manager to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output<String> resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Specifies the name of the Resource Group within which this Kubernetes Fleet Manager should exist. Changing this forces a new Kubernetes Fleet Manager to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Kubernetes Fleet Manager.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output<Map<String,String>> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Kubernetes Fleet Manager.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map<String,String> tags) {
            return tags(Output.of(tags));
        }

        public KubernetesFleetManagerState build() {
            return $;
        }
    }

}
