![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.datafactory.outputs.DatasetBinarySftpServerLocation 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DatasetBinarySftpServerLocation {
/**
* @return Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
*
*/
private @Nullable Boolean dynamicFilenameEnabled;
/**
* @return Is the `path` using dynamic expression, function or system variables? Defaults to `false`.
*
*/
private @Nullable Boolean dynamicPathEnabled;
/**
* @return The filename of the file on the SFTP server.
*
*/
private String filename;
/**
* @return The folder path to the file on the SFTP server.
*
*/
private String path;
private DatasetBinarySftpServerLocation() {}
/**
* @return Is the `filename` using dynamic expression, function or system variables? Defaults to `false`.
*
*/
public Optional dynamicFilenameEnabled() {
return Optional.ofNullable(this.dynamicFilenameEnabled);
}
/**
* @return Is the `path` using dynamic expression, function or system variables? Defaults to `false`.
*
*/
public Optional dynamicPathEnabled() {
return Optional.ofNullable(this.dynamicPathEnabled);
}
/**
* @return The filename of the file on the SFTP server.
*
*/
public String filename() {
return this.filename;
}
/**
* @return The folder path to the file on the SFTP server.
*
*/
public String path() {
return this.path;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DatasetBinarySftpServerLocation defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean dynamicFilenameEnabled;
private @Nullable Boolean dynamicPathEnabled;
private String filename;
private String path;
public Builder() {}
public Builder(DatasetBinarySftpServerLocation defaults) {
Objects.requireNonNull(defaults);
this.dynamicFilenameEnabled = defaults.dynamicFilenameEnabled;
this.dynamicPathEnabled = defaults.dynamicPathEnabled;
this.filename = defaults.filename;
this.path = defaults.path;
}
@CustomType.Setter
public Builder dynamicFilenameEnabled(@Nullable Boolean dynamicFilenameEnabled) {
this.dynamicFilenameEnabled = dynamicFilenameEnabled;
return this;
}
@CustomType.Setter
public Builder dynamicPathEnabled(@Nullable Boolean dynamicPathEnabled) {
this.dynamicPathEnabled = dynamicPathEnabled;
return this;
}
@CustomType.Setter
public Builder filename(String filename) {
if (filename == null) {
throw new MissingRequiredPropertyException("DatasetBinarySftpServerLocation", "filename");
}
this.filename = filename;
return this;
}
@CustomType.Setter
public Builder path(String path) {
if (path == null) {
throw new MissingRequiredPropertyException("DatasetBinarySftpServerLocation", "path");
}
this.path = path;
return this;
}
public DatasetBinarySftpServerLocation build() {
final var _resultValue = new DatasetBinarySftpServerLocation();
_resultValue.dynamicFilenameEnabled = dynamicFilenameEnabled;
_resultValue.dynamicPathEnabled = dynamicPathEnabled;
_resultValue.filename = filename;
_resultValue.path = path;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy