com.pulumi.azurenative.datafactory.outputs.PowerQuerySinkMappingResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.datafactory.outputs;
import com.pulumi.azurenative.datafactory.outputs.PowerQuerySinkResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PowerQuerySinkMappingResponse {
/**
* @return List of sinks mapped to Power Query mashup query.
*
*/
private @Nullable List dataflowSinks;
/**
* @return Name of the query in Power Query mashup document.
*
*/
private @Nullable String queryName;
private PowerQuerySinkMappingResponse() {}
/**
* @return List of sinks mapped to Power Query mashup query.
*
*/
public List dataflowSinks() {
return this.dataflowSinks == null ? List.of() : this.dataflowSinks;
}
/**
* @return Name of the query in Power Query mashup document.
*
*/
public Optional queryName() {
return Optional.ofNullable(this.queryName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PowerQuerySinkMappingResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List dataflowSinks;
private @Nullable String queryName;
public Builder() {}
public Builder(PowerQuerySinkMappingResponse defaults) {
Objects.requireNonNull(defaults);
this.dataflowSinks = defaults.dataflowSinks;
this.queryName = defaults.queryName;
}
@CustomType.Setter
public Builder dataflowSinks(@Nullable List dataflowSinks) {
this.dataflowSinks = dataflowSinks;
return this;
}
public Builder dataflowSinks(PowerQuerySinkResponse... dataflowSinks) {
return dataflowSinks(List.of(dataflowSinks));
}
@CustomType.Setter
public Builder queryName(@Nullable String queryName) {
this.queryName = queryName;
return this;
}
public PowerQuerySinkMappingResponse build() {
final var _resultValue = new PowerQuerySinkMappingResponse();
_resultValue.dataflowSinks = dataflowSinks;
_resultValue.queryName = queryName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy