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

com.pulumi.aws.customerprofiles.inputs.DomainMatchingAutoMergingConflictResolutionArgs 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.customerprofiles.inputs;

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


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

    public static final DomainMatchingAutoMergingConflictResolutionArgs Empty = new DomainMatchingAutoMergingConflictResolutionArgs();

    /**
     * How the auto-merging process should resolve conflicts between different profiles. Valid values are `RECENCY` and `SOURCE`
     * 
     */
    @Import(name="conflictResolvingModel", required=true)
    private Output conflictResolvingModel;

    /**
     * @return How the auto-merging process should resolve conflicts between different profiles. Valid values are `RECENCY` and `SOURCE`
     * 
     */
    public Output conflictResolvingModel() {
        return this.conflictResolvingModel;
    }

    /**
     * The `ObjectType` name that is used to resolve profile merging conflicts when choosing `SOURCE` as the `ConflictResolvingModel`.
     * 
     */
    @Import(name="sourceName")
    private @Nullable Output sourceName;

    /**
     * @return The `ObjectType` name that is used to resolve profile merging conflicts when choosing `SOURCE` as the `ConflictResolvingModel`.
     * 
     */
    public Optional> sourceName() {
        return Optional.ofNullable(this.sourceName);
    }

    private DomainMatchingAutoMergingConflictResolutionArgs() {}

    private DomainMatchingAutoMergingConflictResolutionArgs(DomainMatchingAutoMergingConflictResolutionArgs $) {
        this.conflictResolvingModel = $.conflictResolvingModel;
        this.sourceName = $.sourceName;
    }

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

    public static final class Builder {
        private DomainMatchingAutoMergingConflictResolutionArgs $;

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

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

        /**
         * @param conflictResolvingModel How the auto-merging process should resolve conflicts between different profiles. Valid values are `RECENCY` and `SOURCE`
         * 
         * @return builder
         * 
         */
        public Builder conflictResolvingModel(Output conflictResolvingModel) {
            $.conflictResolvingModel = conflictResolvingModel;
            return this;
        }

        /**
         * @param conflictResolvingModel How the auto-merging process should resolve conflicts between different profiles. Valid values are `RECENCY` and `SOURCE`
         * 
         * @return builder
         * 
         */
        public Builder conflictResolvingModel(String conflictResolvingModel) {
            return conflictResolvingModel(Output.of(conflictResolvingModel));
        }

        /**
         * @param sourceName The `ObjectType` name that is used to resolve profile merging conflicts when choosing `SOURCE` as the `ConflictResolvingModel`.
         * 
         * @return builder
         * 
         */
        public Builder sourceName(@Nullable Output sourceName) {
            $.sourceName = sourceName;
            return this;
        }

        /**
         * @param sourceName The `ObjectType` name that is used to resolve profile merging conflicts when choosing `SOURCE` as the `ConflictResolvingModel`.
         * 
         * @return builder
         * 
         */
        public Builder sourceName(String sourceName) {
            return sourceName(Output.of(sourceName));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy