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

com.pulumi.azurenative.security.inputs.AwsOrganizationalDataMasterArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.security.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.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The AWS organization data for the master account
 * 
 */
public final class AwsOrganizationalDataMasterArgs extends com.pulumi.resources.ResourceArgs {

    public static final AwsOrganizationalDataMasterArgs Empty = new AwsOrganizationalDataMasterArgs();

    /**
     * If the multi cloud account is of membership type organization, list of accounts excluded from offering
     * 
     */
    @Import(name="excludedAccountIds")
    private @Nullable Output> excludedAccountIds;

    /**
     * @return If the multi cloud account is of membership type organization, list of accounts excluded from offering
     * 
     */
    public Optional>> excludedAccountIds() {
        return Optional.ofNullable(this.excludedAccountIds);
    }

    /**
     * The multi cloud account's membership type in the organization
     * Expected value is 'Organization'.
     * 
     */
    @Import(name="organizationMembershipType", required=true)
    private Output organizationMembershipType;

    /**
     * @return The multi cloud account's membership type in the organization
     * Expected value is 'Organization'.
     * 
     */
    public Output organizationMembershipType() {
        return this.organizationMembershipType;
    }

    /**
     * If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset
     * 
     */
    @Import(name="stacksetName")
    private @Nullable Output stacksetName;

    /**
     * @return If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset
     * 
     */
    public Optional> stacksetName() {
        return Optional.ofNullable(this.stacksetName);
    }

    private AwsOrganizationalDataMasterArgs() {}

    private AwsOrganizationalDataMasterArgs(AwsOrganizationalDataMasterArgs $) {
        this.excludedAccountIds = $.excludedAccountIds;
        this.organizationMembershipType = $.organizationMembershipType;
        this.stacksetName = $.stacksetName;
    }

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

    public static final class Builder {
        private AwsOrganizationalDataMasterArgs $;

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

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

        /**
         * @param excludedAccountIds If the multi cloud account is of membership type organization, list of accounts excluded from offering
         * 
         * @return builder
         * 
         */
        public Builder excludedAccountIds(@Nullable Output> excludedAccountIds) {
            $.excludedAccountIds = excludedAccountIds;
            return this;
        }

        /**
         * @param excludedAccountIds If the multi cloud account is of membership type organization, list of accounts excluded from offering
         * 
         * @return builder
         * 
         */
        public Builder excludedAccountIds(List excludedAccountIds) {
            return excludedAccountIds(Output.of(excludedAccountIds));
        }

        /**
         * @param excludedAccountIds If the multi cloud account is of membership type organization, list of accounts excluded from offering
         * 
         * @return builder
         * 
         */
        public Builder excludedAccountIds(String... excludedAccountIds) {
            return excludedAccountIds(List.of(excludedAccountIds));
        }

        /**
         * @param organizationMembershipType The multi cloud account's membership type in the organization
         * Expected value is 'Organization'.
         * 
         * @return builder
         * 
         */
        public Builder organizationMembershipType(Output organizationMembershipType) {
            $.organizationMembershipType = organizationMembershipType;
            return this;
        }

        /**
         * @param organizationMembershipType The multi cloud account's membership type in the organization
         * Expected value is 'Organization'.
         * 
         * @return builder
         * 
         */
        public Builder organizationMembershipType(String organizationMembershipType) {
            return organizationMembershipType(Output.of(organizationMembershipType));
        }

        /**
         * @param stacksetName If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset
         * 
         * @return builder
         * 
         */
        public Builder stacksetName(@Nullable Output stacksetName) {
            $.stacksetName = stacksetName;
            return this;
        }

        /**
         * @param stacksetName If the multi cloud account is of membership type organization, this will be the name of the onboarding stackset
         * 
         * @return builder
         * 
         */
        public Builder stacksetName(String stacksetName) {
            return stacksetName(Output.of(stacksetName));
        }

        public AwsOrganizationalDataMasterArgs build() {
            $.organizationMembershipType = Codegen.stringProp("organizationMembershipType").output().arg($.organizationMembershipType).require();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy