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

com.pulumi.aws.customerprofiles.inputs.DomainMatchingAutoMergingArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.customerprofiles.inputs;

import com.pulumi.aws.customerprofiles.inputs.DomainMatchingAutoMergingConflictResolutionArgs;
import com.pulumi.aws.customerprofiles.inputs.DomainMatchingAutoMergingConsolidationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DomainMatchingAutoMergingArgs Empty = new DomainMatchingAutoMergingArgs();

    /**
     * A block that specifies how the auto-merging process should resolve conflicts between different profiles. Documented below.
     * 
     */
    @Import(name="conflictResolution")
    private @Nullable Output conflictResolution;

    /**
     * @return A block that specifies how the auto-merging process should resolve conflicts between different profiles. Documented below.
     * 
     */
    public Optional> conflictResolution() {
        return Optional.ofNullable(this.conflictResolution);
    }

    /**
     * A block that specifies a list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged. Documented below.
     * * ` min_allowed_confidence_score_for_merging  ` - (Optional) A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles.
     * 
     */
    @Import(name="consolidation")
    private @Nullable Output consolidation;

    /**
     * @return A block that specifies a list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged. Documented below.
     * * ` min_allowed_confidence_score_for_merging  ` - (Optional) A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles.
     * 
     */
    public Optional> consolidation() {
        return Optional.ofNullable(this.consolidation);
    }

    /**
     * The flag that enables the auto-merging of duplicate profiles.
     * 
     */
    @Import(name="enabled", required=true)
    private Output enabled;

    /**
     * @return The flag that enables the auto-merging of duplicate profiles.
     * 
     */
    public Output enabled() {
        return this.enabled;
    }

    @Import(name="minAllowedConfidenceScoreForMerging")
    private @Nullable Output minAllowedConfidenceScoreForMerging;

    public Optional> minAllowedConfidenceScoreForMerging() {
        return Optional.ofNullable(this.minAllowedConfidenceScoreForMerging);
    }

    private DomainMatchingAutoMergingArgs() {}

    private DomainMatchingAutoMergingArgs(DomainMatchingAutoMergingArgs $) {
        this.conflictResolution = $.conflictResolution;
        this.consolidation = $.consolidation;
        this.enabled = $.enabled;
        this.minAllowedConfidenceScoreForMerging = $.minAllowedConfidenceScoreForMerging;
    }

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

    public static final class Builder {
        private DomainMatchingAutoMergingArgs $;

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

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

        /**
         * @param conflictResolution A block that specifies how the auto-merging process should resolve conflicts between different profiles. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder conflictResolution(@Nullable Output conflictResolution) {
            $.conflictResolution = conflictResolution;
            return this;
        }

        /**
         * @param conflictResolution A block that specifies how the auto-merging process should resolve conflicts between different profiles. Documented below.
         * 
         * @return builder
         * 
         */
        public Builder conflictResolution(DomainMatchingAutoMergingConflictResolutionArgs conflictResolution) {
            return conflictResolution(Output.of(conflictResolution));
        }

        /**
         * @param consolidation A block that specifies a list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged. Documented below.
         * * ` min_allowed_confidence_score_for_merging  ` - (Optional) A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles.
         * 
         * @return builder
         * 
         */
        public Builder consolidation(@Nullable Output consolidation) {
            $.consolidation = consolidation;
            return this;
        }

        /**
         * @param consolidation A block that specifies a list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged. Documented below.
         * * ` min_allowed_confidence_score_for_merging  ` - (Optional) A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles.
         * 
         * @return builder
         * 
         */
        public Builder consolidation(DomainMatchingAutoMergingConsolidationArgs consolidation) {
            return consolidation(Output.of(consolidation));
        }

        /**
         * @param enabled The flag that enables the auto-merging of duplicate profiles.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled The flag that enables the auto-merging of duplicate profiles.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        public Builder minAllowedConfidenceScoreForMerging(@Nullable Output minAllowedConfidenceScoreForMerging) {
            $.minAllowedConfidenceScoreForMerging = minAllowedConfidenceScoreForMerging;
            return this;
        }

        public Builder minAllowedConfidenceScoreForMerging(Double minAllowedConfidenceScoreForMerging) {
            return minAllowedConfidenceScoreForMerging(Output.of(minAllowedConfidenceScoreForMerging));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy