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

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

    public static final OrganizationalUnitAccountArgs Empty = new OrganizationalUnitAccountArgs();

    /**
     * ARN of the organizational unit
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return ARN of the organizational unit
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Email of the account
     * 
     */
    @Import(name="email")
    private @Nullable Output email;

    /**
     * @return Email of the account
     * 
     */
    public Optional> email() {
        return Optional.ofNullable(this.email);
    }

    /**
     * Identifier of the organization unit
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Identifier of the organization unit
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The name for the organizational unit
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name for the organizational unit
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private OrganizationalUnitAccountArgs() {}

    private OrganizationalUnitAccountArgs(OrganizationalUnitAccountArgs $) {
        this.arn = $.arn;
        this.email = $.email;
        this.id = $.id;
        this.name = $.name;
    }

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

    public static final class Builder {
        private OrganizationalUnitAccountArgs $;

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

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

        /**
         * @param arn ARN of the organizational unit
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn ARN of the organizational unit
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param email Email of the account
         * 
         * @return builder
         * 
         */
        public Builder email(@Nullable Output email) {
            $.email = email;
            return this;
        }

        /**
         * @param email Email of the account
         * 
         * @return builder
         * 
         */
        public Builder email(String email) {
            return email(Output.of(email));
        }

        /**
         * @param id Identifier of the organization unit
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Identifier of the organization unit
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name The name for the organizational unit
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name for the organizational unit
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public OrganizationalUnitAccountArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy