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

com.pulumi.aws.glue.outputs.MLTransformParametersFindMatchesParameters 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.glue.outputs;

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

@CustomType
public final class MLTransformParametersFindMatchesParameters {
    /**
     * @return The value that is selected when tuning your transform for a balance between accuracy and cost.
     * 
     */
    private @Nullable Double accuracyCostTradeOff;
    /**
     * @return The value to switch on or off to force the output to match the provided labels from users.
     * 
     */
    private @Nullable Boolean enforceProvidedLabels;
    /**
     * @return The value selected when tuning your transform for a balance between precision and recall.
     * 
     */
    private @Nullable Double precisionRecallTradeOff;
    /**
     * @return The name of a column that uniquely identifies rows in the source table.
     * 
     */
    private @Nullable String primaryKeyColumnName;

    private MLTransformParametersFindMatchesParameters() {}
    /**
     * @return The value that is selected when tuning your transform for a balance between accuracy and cost.
     * 
     */
    public Optional accuracyCostTradeOff() {
        return Optional.ofNullable(this.accuracyCostTradeOff);
    }
    /**
     * @return The value to switch on or off to force the output to match the provided labels from users.
     * 
     */
    public Optional enforceProvidedLabels() {
        return Optional.ofNullable(this.enforceProvidedLabels);
    }
    /**
     * @return The value selected when tuning your transform for a balance between precision and recall.
     * 
     */
    public Optional precisionRecallTradeOff() {
        return Optional.ofNullable(this.precisionRecallTradeOff);
    }
    /**
     * @return The name of a column that uniquely identifies rows in the source table.
     * 
     */
    public Optional primaryKeyColumnName() {
        return Optional.ofNullable(this.primaryKeyColumnName);
    }

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

    public static Builder builder(MLTransformParametersFindMatchesParameters defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Double accuracyCostTradeOff;
        private @Nullable Boolean enforceProvidedLabels;
        private @Nullable Double precisionRecallTradeOff;
        private @Nullable String primaryKeyColumnName;
        public Builder() {}
        public Builder(MLTransformParametersFindMatchesParameters defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accuracyCostTradeOff = defaults.accuracyCostTradeOff;
    	      this.enforceProvidedLabels = defaults.enforceProvidedLabels;
    	      this.precisionRecallTradeOff = defaults.precisionRecallTradeOff;
    	      this.primaryKeyColumnName = defaults.primaryKeyColumnName;
        }

        @CustomType.Setter
        public Builder accuracyCostTradeOff(@Nullable Double accuracyCostTradeOff) {

            this.accuracyCostTradeOff = accuracyCostTradeOff;
            return this;
        }
        @CustomType.Setter
        public Builder enforceProvidedLabels(@Nullable Boolean enforceProvidedLabels) {

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

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

            this.primaryKeyColumnName = primaryKeyColumnName;
            return this;
        }
        public MLTransformParametersFindMatchesParameters build() {
            final var _resultValue = new MLTransformParametersFindMatchesParameters();
            _resultValue.accuracyCostTradeOff = accuracyCostTradeOff;
            _resultValue.enforceProvidedLabels = enforceProvidedLabels;
            _resultValue.precisionRecallTradeOff = precisionRecallTradeOff;
            _resultValue.primaryKeyColumnName = primaryKeyColumnName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy