com.pulumi.azure.datafactory.outputs.DataFlowSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.datafactory.outputs.DataFlowSourceDataset;
import com.pulumi.azure.datafactory.outputs.DataFlowSourceFlowlet;
import com.pulumi.azure.datafactory.outputs.DataFlowSourceLinkedService;
import com.pulumi.azure.datafactory.outputs.DataFlowSourceRejectedLinkedService;
import com.pulumi.azure.datafactory.outputs.DataFlowSourceSchemaLinkedService;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DataFlowSource {
/**
* @return A `dataset` block as defined below.
*
*/
private @Nullable DataFlowSourceDataset dataset;
/**
* @return The description for the Data Flow Source.
*
*/
private @Nullable String description;
/**
* @return A `flowlet` block as defined below.
*
*/
private @Nullable DataFlowSourceFlowlet flowlet;
/**
* @return A `linked_service` block as defined below.
*
*/
private @Nullable DataFlowSourceLinkedService linkedService;
/**
* @return The name for the Data Flow Source.
*
*/
private String name;
/**
* @return A `rejected_linked_service` block as defined below.
*
*/
private @Nullable DataFlowSourceRejectedLinkedService rejectedLinkedService;
/**
* @return A `schema_linked_service` block as defined below.
*
*/
private @Nullable DataFlowSourceSchemaLinkedService schemaLinkedService;
private DataFlowSource() {}
/**
* @return A `dataset` block as defined below.
*
*/
public Optional dataset() {
return Optional.ofNullable(this.dataset);
}
/**
* @return The description for the Data Flow Source.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return A `flowlet` block as defined below.
*
*/
public Optional flowlet() {
return Optional.ofNullable(this.flowlet);
}
/**
* @return A `linked_service` block as defined below.
*
*/
public Optional linkedService() {
return Optional.ofNullable(this.linkedService);
}
/**
* @return The name for the Data Flow Source.
*
*/
public String name() {
return this.name;
}
/**
* @return A `rejected_linked_service` block as defined below.
*
*/
public Optional rejectedLinkedService() {
return Optional.ofNullable(this.rejectedLinkedService);
}
/**
* @return A `schema_linked_service` block as defined below.
*
*/
public Optional schemaLinkedService() {
return Optional.ofNullable(this.schemaLinkedService);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataFlowSource defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable DataFlowSourceDataset dataset;
private @Nullable String description;
private @Nullable DataFlowSourceFlowlet flowlet;
private @Nullable DataFlowSourceLinkedService linkedService;
private String name;
private @Nullable DataFlowSourceRejectedLinkedService rejectedLinkedService;
private @Nullable DataFlowSourceSchemaLinkedService schemaLinkedService;
public Builder() {}
public Builder(DataFlowSource defaults) {
Objects.requireNonNull(defaults);
this.dataset = defaults.dataset;
this.description = defaults.description;
this.flowlet = defaults.flowlet;
this.linkedService = defaults.linkedService;
this.name = defaults.name;
this.rejectedLinkedService = defaults.rejectedLinkedService;
this.schemaLinkedService = defaults.schemaLinkedService;
}
@CustomType.Setter
public Builder dataset(@Nullable DataFlowSourceDataset dataset) {
this.dataset = dataset;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder flowlet(@Nullable DataFlowSourceFlowlet flowlet) {
this.flowlet = flowlet;
return this;
}
@CustomType.Setter
public Builder linkedService(@Nullable DataFlowSourceLinkedService linkedService) {
this.linkedService = linkedService;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("DataFlowSource", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder rejectedLinkedService(@Nullable DataFlowSourceRejectedLinkedService rejectedLinkedService) {
this.rejectedLinkedService = rejectedLinkedService;
return this;
}
@CustomType.Setter
public Builder schemaLinkedService(@Nullable DataFlowSourceSchemaLinkedService schemaLinkedService) {
this.schemaLinkedService = schemaLinkedService;
return this;
}
public DataFlowSource build() {
final var _resultValue = new DataFlowSource();
_resultValue.dataset = dataset;
_resultValue.description = description;
_resultValue.flowlet = flowlet;
_resultValue.linkedService = linkedService;
_resultValue.name = name;
_resultValue.rejectedLinkedService = rejectedLinkedService;
_resultValue.schemaLinkedService = schemaLinkedService;
return _resultValue;
}
}
}