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

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

    public static final OrganizationAdminAccountState Empty = new OrganizationAdminAccountState();

    /**
     * The AWS account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.
     * 
     */
    @Import(name="adminAccountId")
    private @Nullable Output adminAccountId;

    /**
     * @return The AWS account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.
     * 
     */
    public Optional> adminAccountId() {
        return Optional.ofNullable(this.adminAccountId);
    }

    private OrganizationAdminAccountState() {}

    private OrganizationAdminAccountState(OrganizationAdminAccountState $) {
        this.adminAccountId = $.adminAccountId;
    }

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

    public static final class Builder {
        private OrganizationAdminAccountState $;

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

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

        /**
         * @param adminAccountId The AWS account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.
         * 
         * @return builder
         * 
         */
        public Builder adminAccountId(@Nullable Output adminAccountId) {
            $.adminAccountId = adminAccountId;
            return this;
        }

        /**
         * @param adminAccountId The AWS account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.
         * 
         * @return builder
         * 
         */
        public Builder adminAccountId(String adminAccountId) {
            return adminAccountId(Output.of(adminAccountId));
        }

        public OrganizationAdminAccountState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy