All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.network.inputs.NetworkManagerManagementGroupConnectionState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final NetworkManagerManagementGroupConnectionState Empty = new NetworkManagerManagementGroupConnectionState();

    /**
     * The Connection state of the Network Manager Management Group Connection.
     * 
     */
    @Import(name="connectionState")
    private @Nullable Output connectionState;

    /**
     * @return The Connection state of the Network Manager Management Group Connection.
     * 
     */
    public Optional> connectionState() {
        return Optional.ofNullable(this.connectionState);
    }

    /**
     * A description of the Network Manager Management Group Connection.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A description of the Network Manager Management Group Connection.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="managementGroupId")
    private @Nullable Output managementGroupId;

    /**
     * @return Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
     * 
     */
    public Optional> managementGroupId() {
        return Optional.ofNullable(this.managementGroupId);
    }

    /**
     * Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="networkManagerId")
    private @Nullable Output networkManagerId;

    /**
     * @return Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
     * 
     */
    public Optional> networkManagerId() {
        return Optional.ofNullable(this.networkManagerId);
    }

    private NetworkManagerManagementGroupConnectionState() {}

    private NetworkManagerManagementGroupConnectionState(NetworkManagerManagementGroupConnectionState $) {
        this.connectionState = $.connectionState;
        this.description = $.description;
        this.managementGroupId = $.managementGroupId;
        this.name = $.name;
        this.networkManagerId = $.networkManagerId;
    }

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

    public static final class Builder {
        private NetworkManagerManagementGroupConnectionState $;

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

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

        /**
         * @param connectionState The Connection state of the Network Manager Management Group Connection.
         * 
         * @return builder
         * 
         */
        public Builder connectionState(@Nullable Output connectionState) {
            $.connectionState = connectionState;
            return this;
        }

        /**
         * @param connectionState The Connection state of the Network Manager Management Group Connection.
         * 
         * @return builder
         * 
         */
        public Builder connectionState(String connectionState) {
            return connectionState(Output.of(connectionState));
        }

        /**
         * @param description A description of the Network Manager Management Group Connection.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A description of the Network Manager Management Group Connection.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param managementGroupId Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder managementGroupId(@Nullable Output managementGroupId) {
            $.managementGroupId = managementGroupId;
            return this;
        }

        /**
         * @param managementGroupId Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder managementGroupId(String managementGroupId) {
            return managementGroupId(Output.of(managementGroupId));
        }

        /**
         * @param name Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param networkManagerId Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkManagerId(@Nullable Output networkManagerId) {
            $.networkManagerId = networkManagerId;
            return this;
        }

        /**
         * @param networkManagerId Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder networkManagerId(String networkManagerId) {
            return networkManagerId(Output.of(networkManagerId));
        }

        public NetworkManagerManagementGroupConnectionState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy