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

com.pulumi.signalfx.inputs.OrgTokenDpmLimitsArgs Maven / Gradle / Ivy

There is a newer version: 7.8.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.signalfx.inputs;

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


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

    public static final OrgTokenDpmLimitsArgs Empty = new OrgTokenDpmLimitsArgs();

    /**
     * The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
     * 
     */
    @Import(name="dpmLimit", required=true)
    private Output dpmLimit;

    /**
     * @return The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
     * 
     */
    public Output dpmLimit() {
        return this.dpmLimit;
    }

    /**
     * DPM level at which Splunk Observability Cloud sends the notification for this token. If you don't specify a notification, Splunk Observability Cloud sends the generic notification.
     * 
     */
    @Import(name="dpmNotificationThreshold")
    private @Nullable Output dpmNotificationThreshold;

    /**
     * @return DPM level at which Splunk Observability Cloud sends the notification for this token. If you don't specify a notification, Splunk Observability Cloud sends the generic notification.
     * 
     */
    public Optional> dpmNotificationThreshold() {
        return Optional.ofNullable(this.dpmNotificationThreshold);
    }

    private OrgTokenDpmLimitsArgs() {}

    private OrgTokenDpmLimitsArgs(OrgTokenDpmLimitsArgs $) {
        this.dpmLimit = $.dpmLimit;
        this.dpmNotificationThreshold = $.dpmNotificationThreshold;
    }

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

    public static final class Builder {
        private OrgTokenDpmLimitsArgs $;

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

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

        /**
         * @param dpmLimit The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
         * 
         * @return builder
         * 
         */
        public Builder dpmLimit(Output dpmLimit) {
            $.dpmLimit = dpmLimit;
            return this;
        }

        /**
         * @param dpmLimit The datapoints per minute (dpm) limit for this token. If you exceed this limit, Splunk Observability Cloud sends out an alert.
         * 
         * @return builder
         * 
         */
        public Builder dpmLimit(Integer dpmLimit) {
            return dpmLimit(Output.of(dpmLimit));
        }

        /**
         * @param dpmNotificationThreshold DPM level at which Splunk Observability Cloud sends the notification for this token. If you don't specify a notification, Splunk Observability Cloud sends the generic notification.
         * 
         * @return builder
         * 
         */
        public Builder dpmNotificationThreshold(@Nullable Output dpmNotificationThreshold) {
            $.dpmNotificationThreshold = dpmNotificationThreshold;
            return this;
        }

        /**
         * @param dpmNotificationThreshold DPM level at which Splunk Observability Cloud sends the notification for this token. If you don't specify a notification, Splunk Observability Cloud sends the generic notification.
         * 
         * @return builder
         * 
         */
        public Builder dpmNotificationThreshold(Integer dpmNotificationThreshold) {
            return dpmNotificationThreshold(Output.of(dpmNotificationThreshold));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy