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

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

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 OrganizationConfigurationState extends com.pulumi.resources.ResourceArgs {

    public static final OrganizationConfigurationState Empty = new OrganizationConfigurationState();

    /**
     * When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s Detective delegated administrator and Detective is enabled in that AWS Region.
     * 
     */
    @Import(name="autoEnable")
    private @Nullable Output autoEnable;

    /**
     * @return When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s Detective delegated administrator and Detective is enabled in that AWS Region.
     * 
     */
    public Optional> autoEnable() {
        return Optional.ofNullable(this.autoEnable);
    }

    /**
     * ARN of the behavior graph.
     * 
     */
    @Import(name="graphArn")
    private @Nullable Output graphArn;

    /**
     * @return ARN of the behavior graph.
     * 
     */
    public Optional> graphArn() {
        return Optional.ofNullable(this.graphArn);
    }

    private OrganizationConfigurationState() {}

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

    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 When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s Detective delegated administrator and Detective is enabled in that AWS Region.
         * 
         * @return builder
         * 
         */
        public Builder autoEnable(@Nullable Output autoEnable) {
            $.autoEnable = autoEnable;
            return this;
        }

        /**
         * @param autoEnable When this setting is enabled, all new accounts that are created in, or added to, the organization are added as a member accounts of the organization’s Detective delegated administrator and Detective is enabled in that AWS Region.
         * 
         * @return builder
         * 
         */
        public Builder autoEnable(Boolean autoEnable) {
            return autoEnable(Output.of(autoEnable));
        }

        /**
         * @param graphArn ARN of the behavior graph.
         * 
         * @return builder
         * 
         */
        public Builder graphArn(@Nullable Output graphArn) {
            $.graphArn = graphArn;
            return this;
        }

        /**
         * @param graphArn ARN of the behavior graph.
         * 
         * @return builder
         * 
         */
        public Builder graphArn(String graphArn) {
            return graphArn(Output.of(graphArn));
        }

        public OrganizationConfigurationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy