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

com.pulumi.aws.auditmanager.AccountRegistrationArgs 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.auditmanager;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class AccountRegistrationArgs extends com.pulumi.resources.ResourceArgs {

    public static final AccountRegistrationArgs Empty = new AccountRegistrationArgs();

    /**
     * Identifier for the delegated administrator account.
     * 
     */
    @Import(name="delegatedAdminAccount")
    private @Nullable Output delegatedAdminAccount;

    /**
     * @return Identifier for the delegated administrator account.
     * 
     */
    public Optional> delegatedAdminAccount() {
        return Optional.ofNullable(this.delegatedAdminAccount);
    }

    /**
     * Flag to deregister AuditManager in the account upon destruction. Defaults to `false` (ie. AuditManager will remain active in the account, even if this resource is removed).
     * 
     */
    @Import(name="deregisterOnDestroy")
    private @Nullable Output deregisterOnDestroy;

    /**
     * @return Flag to deregister AuditManager in the account upon destruction. Defaults to `false` (ie. AuditManager will remain active in the account, even if this resource is removed).
     * 
     */
    public Optional> deregisterOnDestroy() {
        return Optional.ofNullable(this.deregisterOnDestroy);
    }

    /**
     * KMS key identifier.
     * 
     */
    @Import(name="kmsKey")
    private @Nullable Output kmsKey;

    /**
     * @return KMS key identifier.
     * 
     */
    public Optional> kmsKey() {
        return Optional.ofNullable(this.kmsKey);
    }

    private AccountRegistrationArgs() {}

    private AccountRegistrationArgs(AccountRegistrationArgs $) {
        this.delegatedAdminAccount = $.delegatedAdminAccount;
        this.deregisterOnDestroy = $.deregisterOnDestroy;
        this.kmsKey = $.kmsKey;
    }

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

    public static final class Builder {
        private AccountRegistrationArgs $;

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

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

        /**
         * @param delegatedAdminAccount Identifier for the delegated administrator account.
         * 
         * @return builder
         * 
         */
        public Builder delegatedAdminAccount(@Nullable Output delegatedAdminAccount) {
            $.delegatedAdminAccount = delegatedAdminAccount;
            return this;
        }

        /**
         * @param delegatedAdminAccount Identifier for the delegated administrator account.
         * 
         * @return builder
         * 
         */
        public Builder delegatedAdminAccount(String delegatedAdminAccount) {
            return delegatedAdminAccount(Output.of(delegatedAdminAccount));
        }

        /**
         * @param deregisterOnDestroy Flag to deregister AuditManager in the account upon destruction. Defaults to `false` (ie. AuditManager will remain active in the account, even if this resource is removed).
         * 
         * @return builder
         * 
         */
        public Builder deregisterOnDestroy(@Nullable Output deregisterOnDestroy) {
            $.deregisterOnDestroy = deregisterOnDestroy;
            return this;
        }

        /**
         * @param deregisterOnDestroy Flag to deregister AuditManager in the account upon destruction. Defaults to `false` (ie. AuditManager will remain active in the account, even if this resource is removed).
         * 
         * @return builder
         * 
         */
        public Builder deregisterOnDestroy(Boolean deregisterOnDestroy) {
            return deregisterOnDestroy(Output.of(deregisterOnDestroy));
        }

        /**
         * @param kmsKey KMS key identifier.
         * 
         * @return builder
         * 
         */
        public Builder kmsKey(@Nullable Output kmsKey) {
            $.kmsKey = kmsKey;
            return this;
        }

        /**
         * @param kmsKey KMS key identifier.
         * 
         * @return builder
         * 
         */
        public Builder kmsKey(String kmsKey) {
            return kmsKey(Output.of(kmsKey));
        }

        public AccountRegistrationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy