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

com.pulumi.aws.xray.inputs.GroupInsightsConfigurationArgs 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.xray.inputs;

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


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

    public static final GroupInsightsConfigurationArgs Empty = new GroupInsightsConfigurationArgs();

    /**
     * Specifies whether insights are enabled.
     * 
     */
    @Import(name="insightsEnabled", required=true)
    private Output insightsEnabled;

    /**
     * @return Specifies whether insights are enabled.
     * 
     */
    public Output insightsEnabled() {
        return this.insightsEnabled;
    }

    /**
     * Specifies whether insight notifications are enabled.
     * 
     */
    @Import(name="notificationsEnabled")
    private @Nullable Output notificationsEnabled;

    /**
     * @return Specifies whether insight notifications are enabled.
     * 
     */
    public Optional> notificationsEnabled() {
        return Optional.ofNullable(this.notificationsEnabled);
    }

    private GroupInsightsConfigurationArgs() {}

    private GroupInsightsConfigurationArgs(GroupInsightsConfigurationArgs $) {
        this.insightsEnabled = $.insightsEnabled;
        this.notificationsEnabled = $.notificationsEnabled;
    }

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

    public static final class Builder {
        private GroupInsightsConfigurationArgs $;

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

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

        /**
         * @param insightsEnabled Specifies whether insights are enabled.
         * 
         * @return builder
         * 
         */
        public Builder insightsEnabled(Output insightsEnabled) {
            $.insightsEnabled = insightsEnabled;
            return this;
        }

        /**
         * @param insightsEnabled Specifies whether insights are enabled.
         * 
         * @return builder
         * 
         */
        public Builder insightsEnabled(Boolean insightsEnabled) {
            return insightsEnabled(Output.of(insightsEnabled));
        }

        /**
         * @param notificationsEnabled Specifies whether insight notifications are enabled.
         * 
         * @return builder
         * 
         */
        public Builder notificationsEnabled(@Nullable Output notificationsEnabled) {
            $.notificationsEnabled = notificationsEnabled;
            return this;
        }

        /**
         * @param notificationsEnabled Specifies whether insight notifications are enabled.
         * 
         * @return builder
         * 
         */
        public Builder notificationsEnabled(Boolean notificationsEnabled) {
            return notificationsEnabled(Output.of(notificationsEnabled));
        }

        public GroupInsightsConfigurationArgs build() {
            if ($.insightsEnabled == null) {
                throw new MissingRequiredPropertyException("GroupInsightsConfigurationArgs", "insightsEnabled");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy