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

com.pulumi.azurenative.iotoperations.inputs.DataFlowDestinationOperationArgs 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.iotoperations.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;


/**
 * DataFlow Destination Operation properties
 * 
 */
public final class DataFlowDestinationOperationArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataFlowDestinationOperationArgs Empty = new DataFlowDestinationOperationArgs();

    /**
     * Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
     * 
     */
    @Import(name="dataDestination", required=true)
    private Output dataDestination;

    /**
     * @return Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
     * 
     */
    public Output dataDestination() {
        return this.dataDestination;
    }

    /**
     * Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
     * 
     */
    @Import(name="endpointRef", required=true)
    private Output endpointRef;

    /**
     * @return Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
     * 
     */
    public Output endpointRef() {
        return this.endpointRef;
    }

    private DataFlowDestinationOperationArgs() {}

    private DataFlowDestinationOperationArgs(DataFlowDestinationOperationArgs $) {
        this.dataDestination = $.dataDestination;
        this.endpointRef = $.endpointRef;
    }

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

    public static final class Builder {
        private DataFlowDestinationOperationArgs $;

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

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

        /**
         * @param dataDestination Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
         * 
         * @return builder
         * 
         */
        public Builder dataDestination(Output dataDestination) {
            $.dataDestination = dataDestination;
            return this;
        }

        /**
         * @param dataDestination Destination location, can be a topic or table name. Supports dynamic values with $topic, $systemProperties, $userProperties, $payload, $context, and $subscription.
         * 
         * @return builder
         * 
         */
        public Builder dataDestination(String dataDestination) {
            return dataDestination(Output.of(dataDestination));
        }

        /**
         * @param endpointRef Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
         * 
         * @return builder
         * 
         */
        public Builder endpointRef(Output endpointRef) {
            $.endpointRef = endpointRef;
            return this;
        }

        /**
         * @param endpointRef Reference to the Endpoint CR. Can be of Broker, Kafka, Fabric, ADLS, ADX type.
         * 
         * @return builder
         * 
         */
        public Builder endpointRef(String endpointRef) {
            return endpointRef(Output.of(endpointRef));
        }

        public DataFlowDestinationOperationArgs build() {
            if ($.dataDestination == null) {
                throw new MissingRequiredPropertyException("DataFlowDestinationOperationArgs", "dataDestination");
            }
            if ($.endpointRef == null) {
                throw new MissingRequiredPropertyException("DataFlowDestinationOperationArgs", "endpointRef");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy