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

com.pulumi.azurenative.network.ManagementGroupNetworkManagerConnectionArgs Maven / Gradle / Ivy

The 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.azurenative.network;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ManagementGroupNetworkManagerConnectionArgs Empty = new ManagementGroupNetworkManagerConnectionArgs();

    /**
     * A description of the network manager connection.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A description of the network manager connection.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The management group Id which uniquely identify the Microsoft Azure management group.
     * 
     */
    @Import(name="managementGroupId", required=true)
    private Output managementGroupId;

    /**
     * @return The management group Id which uniquely identify the Microsoft Azure management group.
     * 
     */
    public Output managementGroupId() {
        return this.managementGroupId;
    }

    /**
     * Name for the network manager connection.
     * 
     */
    @Import(name="networkManagerConnectionName")
    private @Nullable Output networkManagerConnectionName;

    /**
     * @return Name for the network manager connection.
     * 
     */
    public Optional> networkManagerConnectionName() {
        return Optional.ofNullable(this.networkManagerConnectionName);
    }

    /**
     * Network Manager Id.
     * 
     */
    @Import(name="networkManagerId")
    private @Nullable Output networkManagerId;

    /**
     * @return Network Manager Id.
     * 
     */
    public Optional> networkManagerId() {
        return Optional.ofNullable(this.networkManagerId);
    }

    private ManagementGroupNetworkManagerConnectionArgs() {}

    private ManagementGroupNetworkManagerConnectionArgs(ManagementGroupNetworkManagerConnectionArgs $) {
        this.description = $.description;
        this.managementGroupId = $.managementGroupId;
        this.networkManagerConnectionName = $.networkManagerConnectionName;
        this.networkManagerId = $.networkManagerId;
    }

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

    public static final class Builder {
        private ManagementGroupNetworkManagerConnectionArgs $;

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

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

        /**
         * @param description A description of the network manager connection.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A description of the network manager connection.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group.
         * 
         * @return builder
         * 
         */
        public Builder managementGroupId(Output managementGroupId) {
            $.managementGroupId = managementGroupId;
            return this;
        }

        /**
         * @param managementGroupId The management group Id which uniquely identify the Microsoft Azure management group.
         * 
         * @return builder
         * 
         */
        public Builder managementGroupId(String managementGroupId) {
            return managementGroupId(Output.of(managementGroupId));
        }

        /**
         * @param networkManagerConnectionName Name for the network manager connection.
         * 
         * @return builder
         * 
         */
        public Builder networkManagerConnectionName(@Nullable Output networkManagerConnectionName) {
            $.networkManagerConnectionName = networkManagerConnectionName;
            return this;
        }

        /**
         * @param networkManagerConnectionName Name for the network manager connection.
         * 
         * @return builder
         * 
         */
        public Builder networkManagerConnectionName(String networkManagerConnectionName) {
            return networkManagerConnectionName(Output.of(networkManagerConnectionName));
        }

        /**
         * @param networkManagerId Network Manager Id.
         * 
         * @return builder
         * 
         */
        public Builder networkManagerId(@Nullable Output networkManagerId) {
            $.networkManagerId = networkManagerId;
            return this;
        }

        /**
         * @param networkManagerId Network Manager Id.
         * 
         * @return builder
         * 
         */
        public Builder networkManagerId(String networkManagerId) {
            return networkManagerId(Output.of(networkManagerId));
        }

        public ManagementGroupNetworkManagerConnectionArgs build() {
            if ($.managementGroupId == null) {
                throw new MissingRequiredPropertyException("ManagementGroupNetworkManagerConnectionArgs", "managementGroupId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy