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

com.pulumi.azurenative.management.inputs.GetManagementGroupPlainArgs Maven / Gradle / Ivy

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

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


public final class GetManagementGroupPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetManagementGroupPlainArgs Empty = new GetManagementGroupPlainArgs();

    /**
     * The $expand=children query string parameter allows clients to request inclusion of children in the response payload.  $expand=path includes the path from the root group to the current group.  $expand=ancestors includes the ancestor Ids of the current group.
     * 
     */
    @Import(name="expand")
    private @Nullable String expand;

    /**
     * @return The $expand=children query string parameter allows clients to request inclusion of children in the response payload.  $expand=path includes the path from the root group to the current group.  $expand=ancestors includes the ancestor Ids of the current group.
     * 
     */
    public Optional expand() {
        return Optional.ofNullable(this.expand);
    }

    /**
     * A filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription')
     * 
     */
    @Import(name="filter")
    private @Nullable String filter;

    /**
     * @return A filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription')
     * 
     */
    public Optional filter() {
        return Optional.ofNullable(this.filter);
    }

    /**
     * Management Group ID.
     * 
     */
    @Import(name="groupId", required=true)
    private String groupId;

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

    /**
     * The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that  $expand=children must be passed up if $recurse is set to true.
     * 
     */
    @Import(name="recurse")
    private @Nullable Boolean recurse;

    /**
     * @return The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that  $expand=children must be passed up if $recurse is set to true.
     * 
     */
    public Optional recurse() {
        return Optional.ofNullable(this.recurse);
    }

    private GetManagementGroupPlainArgs() {}

    private GetManagementGroupPlainArgs(GetManagementGroupPlainArgs $) {
        this.expand = $.expand;
        this.filter = $.filter;
        this.groupId = $.groupId;
        this.recurse = $.recurse;
    }

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

    public static final class Builder {
        private GetManagementGroupPlainArgs $;

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

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

        /**
         * @param expand The $expand=children query string parameter allows clients to request inclusion of children in the response payload.  $expand=path includes the path from the root group to the current group.  $expand=ancestors includes the ancestor Ids of the current group.
         * 
         * @return builder
         * 
         */
        public Builder expand(@Nullable String expand) {
            $.expand = expand;
            return this;
        }

        /**
         * @param filter A filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription')
         * 
         * @return builder
         * 
         */
        public Builder filter(@Nullable String filter) {
            $.filter = filter;
            return this;
        }

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

        /**
         * @param recurse The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that  $expand=children must be passed up if $recurse is set to true.
         * 
         * @return builder
         * 
         */
        public Builder recurse(@Nullable Boolean recurse) {
            $.recurse = recurse;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy