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

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

    public static final OrganizationDelegatedAdminAccountState Empty = new OrganizationDelegatedAdminAccountState();

    /**
     * An organization member account ID that you want to designate as a delegated administrator.
     * 
     */
    @Import(name="accountId")
    private @Nullable Output accountId;

    /**
     * @return An organization member account ID that you want to designate as a delegated administrator.
     * 
     */
    public Optional> accountId() {
        return Optional.ofNullable(this.accountId);
    }

    /**
     * The Amazon Resource Name (ARN) of the delegated administrator's account.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The Amazon Resource Name (ARN) of the delegated administrator's account.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The email address that is associated with the delegated administrator's AWS account.
     * 
     */
    @Import(name="email")
    private @Nullable Output email;

    /**
     * @return The email address that is associated with the delegated administrator's AWS account.
     * 
     */
    public Optional> email() {
        return Optional.ofNullable(this.email);
    }

    /**
     * The friendly name of the delegated administrator's account.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The friendly name of the delegated administrator's account.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The AWS CloudTrail service principal name.
     * 
     */
    @Import(name="servicePrincipal")
    private @Nullable Output servicePrincipal;

    /**
     * @return The AWS CloudTrail service principal name.
     * 
     */
    public Optional> servicePrincipal() {
        return Optional.ofNullable(this.servicePrincipal);
    }

    private OrganizationDelegatedAdminAccountState() {}

    private OrganizationDelegatedAdminAccountState(OrganizationDelegatedAdminAccountState $) {
        this.accountId = $.accountId;
        this.arn = $.arn;
        this.email = $.email;
        this.name = $.name;
        this.servicePrincipal = $.servicePrincipal;
    }

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

    public static final class Builder {
        private OrganizationDelegatedAdminAccountState $;

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

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

        /**
         * @param accountId An organization member account ID that you want to designate as a delegated administrator.
         * 
         * @return builder
         * 
         */
        public Builder accountId(@Nullable Output accountId) {
            $.accountId = accountId;
            return this;
        }

        /**
         * @param accountId An organization member account ID that you want to designate as a delegated administrator.
         * 
         * @return builder
         * 
         */
        public Builder accountId(String accountId) {
            return accountId(Output.of(accountId));
        }

        /**
         * @param arn The Amazon Resource Name (ARN) of the delegated administrator's account.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn The Amazon Resource Name (ARN) of the delegated administrator's account.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param email The email address that is associated with the delegated administrator's AWS account.
         * 
         * @return builder
         * 
         */
        public Builder email(@Nullable Output email) {
            $.email = email;
            return this;
        }

        /**
         * @param email The email address that is associated with the delegated administrator's AWS account.
         * 
         * @return builder
         * 
         */
        public Builder email(String email) {
            return email(Output.of(email));
        }

        /**
         * @param name The friendly name of the delegated administrator's account.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The friendly name of the delegated administrator's account.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param servicePrincipal The AWS CloudTrail service principal name.
         * 
         * @return builder
         * 
         */
        public Builder servicePrincipal(@Nullable Output servicePrincipal) {
            $.servicePrincipal = servicePrincipal;
            return this;
        }

        /**
         * @param servicePrincipal The AWS CloudTrail service principal name.
         * 
         * @return builder
         * 
         */
        public Builder servicePrincipal(String servicePrincipal) {
            return servicePrincipal(Output.of(servicePrincipal));
        }

        public OrganizationDelegatedAdminAccountState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy