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

com.pulumi.aws.organizations.inputs.GetOrganizationalUnitChildAccountsPlainArgs 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 GetOrganizationalUnitChildAccountsPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetOrganizationalUnitChildAccountsPlainArgs Empty = new GetOrganizationalUnitChildAccountsPlainArgs();

    /**
     * The parent ID of the accounts.
     * 
     */
    @Import(name="parentId", required=true)
    private String parentId;

    /**
     * @return The parent ID of the accounts.
     * 
     */
    public String parentId() {
        return this.parentId;
    }

    private GetOrganizationalUnitChildAccountsPlainArgs() {}

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

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

    public static final class Builder {
        private GetOrganizationalUnitChildAccountsPlainArgs $;

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

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

        /**
         * @param parentId The parent ID of the accounts.
         * 
         * @return builder
         * 
         */
        public Builder parentId(String parentId) {
            $.parentId = parentId;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy