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

com.pulumi.azurenative.customerinsights.inputs.PredictionGradesArgs Maven / Gradle / Ivy

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

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


/**
 * The definition of a prediction grade.
 * 
 */
public final class PredictionGradesArgs extends com.pulumi.resources.ResourceArgs {

    public static final PredictionGradesArgs Empty = new PredictionGradesArgs();

    /**
     * Name of the grade.
     * 
     */
    @Import(name="gradeName")
    private @Nullable Output gradeName;

    /**
     * @return Name of the grade.
     * 
     */
    public Optional> gradeName() {
        return Optional.ofNullable(this.gradeName);
    }

    /**
     * Maximum score threshold.
     * 
     */
    @Import(name="maxScoreThreshold")
    private @Nullable Output maxScoreThreshold;

    /**
     * @return Maximum score threshold.
     * 
     */
    public Optional> maxScoreThreshold() {
        return Optional.ofNullable(this.maxScoreThreshold);
    }

    /**
     * Minimum score threshold.
     * 
     */
    @Import(name="minScoreThreshold")
    private @Nullable Output minScoreThreshold;

    /**
     * @return Minimum score threshold.
     * 
     */
    public Optional> minScoreThreshold() {
        return Optional.ofNullable(this.minScoreThreshold);
    }

    private PredictionGradesArgs() {}

    private PredictionGradesArgs(PredictionGradesArgs $) {
        this.gradeName = $.gradeName;
        this.maxScoreThreshold = $.maxScoreThreshold;
        this.minScoreThreshold = $.minScoreThreshold;
    }

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

    public static final class Builder {
        private PredictionGradesArgs $;

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

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

        /**
         * @param gradeName Name of the grade.
         * 
         * @return builder
         * 
         */
        public Builder gradeName(@Nullable Output gradeName) {
            $.gradeName = gradeName;
            return this;
        }

        /**
         * @param gradeName Name of the grade.
         * 
         * @return builder
         * 
         */
        public Builder gradeName(String gradeName) {
            return gradeName(Output.of(gradeName));
        }

        /**
         * @param maxScoreThreshold Maximum score threshold.
         * 
         * @return builder
         * 
         */
        public Builder maxScoreThreshold(@Nullable Output maxScoreThreshold) {
            $.maxScoreThreshold = maxScoreThreshold;
            return this;
        }

        /**
         * @param maxScoreThreshold Maximum score threshold.
         * 
         * @return builder
         * 
         */
        public Builder maxScoreThreshold(Integer maxScoreThreshold) {
            return maxScoreThreshold(Output.of(maxScoreThreshold));
        }

        /**
         * @param minScoreThreshold Minimum score threshold.
         * 
         * @return builder
         * 
         */
        public Builder minScoreThreshold(@Nullable Output minScoreThreshold) {
            $.minScoreThreshold = minScoreThreshold;
            return this;
        }

        /**
         * @param minScoreThreshold Minimum score threshold.
         * 
         * @return builder
         * 
         */
        public Builder minScoreThreshold(Integer minScoreThreshold) {
            return minScoreThreshold(Output.of(minScoreThreshold));
        }

        public PredictionGradesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy