com.pulumi.azure.datafactory.outputs.DataFlowSinkFlowlet 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.azure.datafactory.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DataFlowSinkFlowlet {
/**
* @return Specifies the reference data flow parameters from dataset.
*
*/
private @Nullable String datasetParameters;
/**
* @return The name for the Data Factory Flowlet.
*
*/
private String name;
/**
* @return A map of parameters to associate with the Data Factory Flowlet.
*
*/
private @Nullable Map parameters;
private DataFlowSinkFlowlet() {}
/**
* @return Specifies the reference data flow parameters from dataset.
*
*/
public Optional datasetParameters() {
return Optional.ofNullable(this.datasetParameters);
}
/**
* @return The name for the Data Factory Flowlet.
*
*/
public String name() {
return this.name;
}
/**
* @return A map of parameters to associate with the Data Factory Flowlet.
*
*/
public Map parameters() {
return this.parameters == null ? Map.of() : this.parameters;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataFlowSinkFlowlet defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String datasetParameters;
private String name;
private @Nullable Map parameters;
public Builder() {}
public Builder(DataFlowSinkFlowlet defaults) {
Objects.requireNonNull(defaults);
this.datasetParameters = defaults.datasetParameters;
this.name = defaults.name;
this.parameters = defaults.parameters;
}
@CustomType.Setter
public Builder datasetParameters(@Nullable String datasetParameters) {
this.datasetParameters = datasetParameters;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("DataFlowSinkFlowlet", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder parameters(@Nullable Map parameters) {
this.parameters = parameters;
return this;
}
public DataFlowSinkFlowlet build() {
final var _resultValue = new DataFlowSinkFlowlet();
_resultValue.datasetParameters = datasetParameters;
_resultValue.name = name;
_resultValue.parameters = parameters;
return _resultValue;
}
}
}