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

com.pulumi.azurenative.management.ManagementGroupArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.management;

import com.pulumi.azurenative.management.inputs.CreateManagementGroupDetailsArgs;
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 ManagementGroupArgs extends com.pulumi.resources.ResourceArgs {

    public static final ManagementGroupArgs Empty = new ManagementGroupArgs();

    /**
     * The details of a management group used during creation.
     * 
     */
    @Import(name="details")
    private @Nullable Output details;

    /**
     * @return The details of a management group used during creation.
     * 
     */
    public Optional> details() {
        return Optional.ofNullable(this.details);
    }

    /**
     * The friendly name of the management group. If no value is passed then this  field will be set to the groupId.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return The friendly name of the management group. If no value is passed then this  field will be set to the groupId.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * Management Group ID.
     * 
     */
    @Import(name="groupId")
    private @Nullable Output groupId;

    /**
     * @return Management Group ID.
     * 
     */
    public Optional> groupId() {
        return Optional.ofNullable(this.groupId);
    }

    /**
     * The name of the management group. For example, 00000000-0000-0000-0000-000000000000
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the management group. For example, 00000000-0000-0000-0000-000000000000
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private ManagementGroupArgs() {}

    private ManagementGroupArgs(ManagementGroupArgs $) {
        this.details = $.details;
        this.displayName = $.displayName;
        this.groupId = $.groupId;
        this.name = $.name;
    }

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

    public static final class Builder {
        private ManagementGroupArgs $;

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

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

        /**
         * @param details The details of a management group used during creation.
         * 
         * @return builder
         * 
         */
        public Builder details(@Nullable Output details) {
            $.details = details;
            return this;
        }

        /**
         * @param details The details of a management group used during creation.
         * 
         * @return builder
         * 
         */
        public Builder details(CreateManagementGroupDetailsArgs details) {
            return details(Output.of(details));
        }

        /**
         * @param displayName The friendly name of the management group. If no value is passed then this  field will be set to the groupId.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName The friendly name of the management group. If no value is passed then this  field will be set to the groupId.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param groupId Management Group ID.
         * 
         * @return builder
         * 
         */
        public Builder groupId(@Nullable Output groupId) {
            $.groupId = groupId;
            return this;
        }

        /**
         * @param groupId Management Group ID.
         * 
         * @return builder
         * 
         */
        public Builder groupId(String groupId) {
            return groupId(Output.of(groupId));
        }

        /**
         * @param name The name of the management group. For example, 00000000-0000-0000-0000-000000000000
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the management group. For example, 00000000-0000-0000-0000-000000000000
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public ManagementGroupArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy