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

com.pulumi.azurenative.customerinsights.outputs.ParticipantPropertyReferenceResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ParticipantPropertyReferenceResponse {
    /**
     * @return The source property that maps to the target property.
     * 
     */
    private String sourcePropertyName;
    /**
     * @return The target property that maps to the source property.
     * 
     */
    private String targetPropertyName;

    private ParticipantPropertyReferenceResponse() {}
    /**
     * @return The source property that maps to the target property.
     * 
     */
    public String sourcePropertyName() {
        return this.sourcePropertyName;
    }
    /**
     * @return The target property that maps to the source property.
     * 
     */
    public String targetPropertyName() {
        return this.targetPropertyName;
    }

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

    public static Builder builder(ParticipantPropertyReferenceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String sourcePropertyName;
        private String targetPropertyName;
        public Builder() {}
        public Builder(ParticipantPropertyReferenceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.sourcePropertyName = defaults.sourcePropertyName;
    	      this.targetPropertyName = defaults.targetPropertyName;
        }

        @CustomType.Setter
        public Builder sourcePropertyName(String sourcePropertyName) {
            if (sourcePropertyName == null) {
              throw new MissingRequiredPropertyException("ParticipantPropertyReferenceResponse", "sourcePropertyName");
            }
            this.sourcePropertyName = sourcePropertyName;
            return this;
        }
        @CustomType.Setter
        public Builder targetPropertyName(String targetPropertyName) {
            if (targetPropertyName == null) {
              throw new MissingRequiredPropertyException("ParticipantPropertyReferenceResponse", "targetPropertyName");
            }
            this.targetPropertyName = targetPropertyName;
            return this;
        }
        public ParticipantPropertyReferenceResponse build() {
            final var _resultValue = new ParticipantPropertyReferenceResponse();
            _resultValue.sourcePropertyName = sourcePropertyName;
            _resultValue.targetPropertyName = targetPropertyName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy