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

com.pulumi.azurenative.machinelearningservices.outputs.TableVerticalLimitSettingsResponse 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.azurenative.machinelearningservices.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class TableVerticalLimitSettingsResponse {
    /**
     * @return Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.
     * 
     */
    private @Nullable Boolean enableEarlyTermination;
    /**
     * @return Exit score for the AutoML job.
     * 
     */
    private @Nullable Double exitScore;
    /**
     * @return Maximum Concurrent iterations.
     * 
     */
    private @Nullable Integer maxConcurrentTrials;
    /**
     * @return Max cores per iteration.
     * 
     */
    private @Nullable Integer maxCoresPerTrial;
    /**
     * @return Number of iterations.
     * 
     */
    private @Nullable Integer maxTrials;
    /**
     * @return AutoML job timeout.
     * 
     */
    private @Nullable String timeout;
    /**
     * @return Iteration timeout.
     * 
     */
    private @Nullable String trialTimeout;

    private TableVerticalLimitSettingsResponse() {}
    /**
     * @return Enable early termination, determines whether or not if AutoMLJob will terminate early if there is no score improvement in last 20 iterations.
     * 
     */
    public Optional enableEarlyTermination() {
        return Optional.ofNullable(this.enableEarlyTermination);
    }
    /**
     * @return Exit score for the AutoML job.
     * 
     */
    public Optional exitScore() {
        return Optional.ofNullable(this.exitScore);
    }
    /**
     * @return Maximum Concurrent iterations.
     * 
     */
    public Optional maxConcurrentTrials() {
        return Optional.ofNullable(this.maxConcurrentTrials);
    }
    /**
     * @return Max cores per iteration.
     * 
     */
    public Optional maxCoresPerTrial() {
        return Optional.ofNullable(this.maxCoresPerTrial);
    }
    /**
     * @return Number of iterations.
     * 
     */
    public Optional maxTrials() {
        return Optional.ofNullable(this.maxTrials);
    }
    /**
     * @return AutoML job timeout.
     * 
     */
    public Optional timeout() {
        return Optional.ofNullable(this.timeout);
    }
    /**
     * @return Iteration timeout.
     * 
     */
    public Optional trialTimeout() {
        return Optional.ofNullable(this.trialTimeout);
    }

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

    public static Builder builder(TableVerticalLimitSettingsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean enableEarlyTermination;
        private @Nullable Double exitScore;
        private @Nullable Integer maxConcurrentTrials;
        private @Nullable Integer maxCoresPerTrial;
        private @Nullable Integer maxTrials;
        private @Nullable String timeout;
        private @Nullable String trialTimeout;
        public Builder() {}
        public Builder(TableVerticalLimitSettingsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.enableEarlyTermination = defaults.enableEarlyTermination;
    	      this.exitScore = defaults.exitScore;
    	      this.maxConcurrentTrials = defaults.maxConcurrentTrials;
    	      this.maxCoresPerTrial = defaults.maxCoresPerTrial;
    	      this.maxTrials = defaults.maxTrials;
    	      this.timeout = defaults.timeout;
    	      this.trialTimeout = defaults.trialTimeout;
        }

        @CustomType.Setter
        public Builder enableEarlyTermination(@Nullable Boolean enableEarlyTermination) {

            this.enableEarlyTermination = enableEarlyTermination;
            return this;
        }
        @CustomType.Setter
        public Builder exitScore(@Nullable Double exitScore) {

            this.exitScore = exitScore;
            return this;
        }
        @CustomType.Setter
        public Builder maxConcurrentTrials(@Nullable Integer maxConcurrentTrials) {

            this.maxConcurrentTrials = maxConcurrentTrials;
            return this;
        }
        @CustomType.Setter
        public Builder maxCoresPerTrial(@Nullable Integer maxCoresPerTrial) {

            this.maxCoresPerTrial = maxCoresPerTrial;
            return this;
        }
        @CustomType.Setter
        public Builder maxTrials(@Nullable Integer maxTrials) {

            this.maxTrials = maxTrials;
            return this;
        }
        @CustomType.Setter
        public Builder timeout(@Nullable String timeout) {

            this.timeout = timeout;
            return this;
        }
        @CustomType.Setter
        public Builder trialTimeout(@Nullable String trialTimeout) {

            this.trialTimeout = trialTimeout;
            return this;
        }
        public TableVerticalLimitSettingsResponse build() {
            final var _resultValue = new TableVerticalLimitSettingsResponse();
            _resultValue.enableEarlyTermination = enableEarlyTermination;
            _resultValue.exitScore = exitScore;
            _resultValue.maxConcurrentTrials = maxConcurrentTrials;
            _resultValue.maxCoresPerTrial = maxCoresPerTrial;
            _resultValue.maxTrials = maxTrials;
            _resultValue.timeout = timeout;
            _resultValue.trialTimeout = trialTimeout;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy