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

com.pulumi.azurenative.hybridconnectivity.inputs.AwsCloudProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.hybridconnectivity.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * cloud profile for AWS.
 * 
 */
public final class AwsCloudProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final AwsCloudProfileArgs Empty = new AwsCloudProfileArgs();

    /**
     * Account id for the AWS account.
     * 
     */
    @Import(name="accountId", required=true)
    private Output accountId;

    /**
     * @return Account id for the AWS account.
     * 
     */
    public Output accountId() {
        return this.accountId;
    }

    /**
     * List of AWS accounts which need to be excluded.
     * 
     */
    @Import(name="excludedAccounts")
    private @Nullable Output> excludedAccounts;

    /**
     * @return List of AWS accounts which need to be excluded.
     * 
     */
    public Optional>> excludedAccounts() {
        return Optional.ofNullable(this.excludedAccounts);
    }

    /**
     * Boolean value that indicates whether the account is organizational or not. True represents organization account, whereas false represents a single account.
     * 
     */
    @Import(name="isOrganizationalAccount")
    private @Nullable Output isOrganizationalAccount;

    /**
     * @return Boolean value that indicates whether the account is organizational or not. True represents organization account, whereas false represents a single account.
     * 
     */
    public Optional> isOrganizationalAccount() {
        return Optional.ofNullable(this.isOrganizationalAccount);
    }

    private AwsCloudProfileArgs() {}

    private AwsCloudProfileArgs(AwsCloudProfileArgs $) {
        this.accountId = $.accountId;
        this.excludedAccounts = $.excludedAccounts;
        this.isOrganizationalAccount = $.isOrganizationalAccount;
    }

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

    public static final class Builder {
        private AwsCloudProfileArgs $;

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

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

        /**
         * @param accountId Account id for the AWS account.
         * 
         * @return builder
         * 
         */
        public Builder accountId(Output accountId) {
            $.accountId = accountId;
            return this;
        }

        /**
         * @param accountId Account id for the AWS account.
         * 
         * @return builder
         * 
         */
        public Builder accountId(String accountId) {
            return accountId(Output.of(accountId));
        }

        /**
         * @param excludedAccounts List of AWS accounts which need to be excluded.
         * 
         * @return builder
         * 
         */
        public Builder excludedAccounts(@Nullable Output> excludedAccounts) {
            $.excludedAccounts = excludedAccounts;
            return this;
        }

        /**
         * @param excludedAccounts List of AWS accounts which need to be excluded.
         * 
         * @return builder
         * 
         */
        public Builder excludedAccounts(List excludedAccounts) {
            return excludedAccounts(Output.of(excludedAccounts));
        }

        /**
         * @param excludedAccounts List of AWS accounts which need to be excluded.
         * 
         * @return builder
         * 
         */
        public Builder excludedAccounts(String... excludedAccounts) {
            return excludedAccounts(List.of(excludedAccounts));
        }

        /**
         * @param isOrganizationalAccount Boolean value that indicates whether the account is organizational or not. True represents organization account, whereas false represents a single account.
         * 
         * @return builder
         * 
         */
        public Builder isOrganizationalAccount(@Nullable Output isOrganizationalAccount) {
            $.isOrganizationalAccount = isOrganizationalAccount;
            return this;
        }

        /**
         * @param isOrganizationalAccount Boolean value that indicates whether the account is organizational or not. True represents organization account, whereas false represents a single account.
         * 
         * @return builder
         * 
         */
        public Builder isOrganizationalAccount(Boolean isOrganizationalAccount) {
            return isOrganizationalAccount(Output.of(isOrganizationalAccount));
        }

        public AwsCloudProfileArgs build() {
            if ($.accountId == null) {
                throw new MissingRequiredPropertyException("AwsCloudProfileArgs", "accountId");
            }
            $.isOrganizationalAccount = Codegen.booleanProp("isOrganizationalAccount").output().arg($.isOrganizationalAccount).def(false).getNullable();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy