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

com.pulumi.aws.organizations.inputs.GetOrganizationalUnitsPlainArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.organizations.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final GetOrganizationalUnitsPlainArgs Empty = new GetOrganizationalUnitsPlainArgs();

    /**
     * Parent ID of the organizational unit.
     * 
     */
    @Import(name="parentId", required=true)
    private String parentId;

    /**
     * @return Parent ID of the organizational unit.
     * 
     */
    public String parentId() {
        return this.parentId;
    }

    private GetOrganizationalUnitsPlainArgs() {}

    private GetOrganizationalUnitsPlainArgs(GetOrganizationalUnitsPlainArgs $) {
        this.parentId = $.parentId;
    }

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

    public static final class Builder {
        private GetOrganizationalUnitsPlainArgs $;

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

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

        /**
         * @param parentId Parent ID of the organizational unit.
         * 
         * @return builder
         * 
         */
        public Builder parentId(String parentId) {
            $.parentId = parentId;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy