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

com.pulumi.aws.inspector2.inputs.OrganizationConfigurationState 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.inspector2.inputs;

import com.pulumi.aws.inspector2.inputs.OrganizationConfigurationAutoEnableArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final OrganizationConfigurationState Empty = new OrganizationConfigurationState();

    /**
     * Configuration block for auto enabling. See below.
     * 
     */
    @Import(name="autoEnable")
    private @Nullable Output autoEnable;

    /**
     * @return Configuration block for auto enabling. See below.
     * 
     */
    public Optional> autoEnable() {
        return Optional.ofNullable(this.autoEnable);
    }

    /**
     * Whether your configuration reached the max account limit.
     * 
     */
    @Import(name="maxAccountLimitReached")
    private @Nullable Output maxAccountLimitReached;

    /**
     * @return Whether your configuration reached the max account limit.
     * 
     */
    public Optional> maxAccountLimitReached() {
        return Optional.ofNullable(this.maxAccountLimitReached);
    }

    private OrganizationConfigurationState() {}

    private OrganizationConfigurationState(OrganizationConfigurationState $) {
        this.autoEnable = $.autoEnable;
        this.maxAccountLimitReached = $.maxAccountLimitReached;
    }

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

    public static final class Builder {
        private OrganizationConfigurationState $;

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

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

        /**
         * @param autoEnable Configuration block for auto enabling. See below.
         * 
         * @return builder
         * 
         */
        public Builder autoEnable(@Nullable Output autoEnable) {
            $.autoEnable = autoEnable;
            return this;
        }

        /**
         * @param autoEnable Configuration block for auto enabling. See below.
         * 
         * @return builder
         * 
         */
        public Builder autoEnable(OrganizationConfigurationAutoEnableArgs autoEnable) {
            return autoEnable(Output.of(autoEnable));
        }

        /**
         * @param maxAccountLimitReached Whether your configuration reached the max account limit.
         * 
         * @return builder
         * 
         */
        public Builder maxAccountLimitReached(@Nullable Output maxAccountLimitReached) {
            $.maxAccountLimitReached = maxAccountLimitReached;
            return this;
        }

        /**
         * @param maxAccountLimitReached Whether your configuration reached the max account limit.
         * 
         * @return builder
         * 
         */
        public Builder maxAccountLimitReached(Boolean maxAccountLimitReached) {
            return maxAccountLimitReached(Output.of(maxAccountLimitReached));
        }

        public OrganizationConfigurationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy