FileShareDataset.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.analytics.synapse.artifacts.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
/** An on-premises file system dataset. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("FileShare")
@JsonFlatten
@Fluent
public class FileShareDataset extends Dataset {
/*
* The path of the on-premises file system. Type: string (or Expression
* with resultType string).
*/
@JsonProperty(value = "typeProperties.folderPath")
private Object folderPath;
/*
* The name of the on-premises file system. Type: string (or Expression
* with resultType string).
*/
@JsonProperty(value = "typeProperties.fileName")
private Object fileName;
/*
* The start of file's modified datetime. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "typeProperties.modifiedDatetimeStart")
private Object modifiedDatetimeStart;
/*
* The end of file's modified datetime. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "typeProperties.modifiedDatetimeEnd")
private Object modifiedDatetimeEnd;
/*
* The format of the files.
*/
@JsonProperty(value = "typeProperties.format")
private DatasetStorageFormat format;
/*
* Specify a filter to be used to select a subset of files in the
* folderPath rather than all files. Type: string (or Expression with
* resultType string).
*/
@JsonProperty(value = "typeProperties.fileFilter")
private Object fileFilter;
/*
* The data compression method used for the file system.
*/
@JsonProperty(value = "typeProperties.compression")
private DatasetCompression compression;
/**
* Get the folderPath property: The path of the on-premises file system. Type: string (or Expression with resultType
* string).
*
* @return the folderPath value.
*/
public Object getFolderPath() {
return this.folderPath;
}
/**
* Set the folderPath property: The path of the on-premises file system. Type: string (or Expression with resultType
* string).
*
* @param folderPath the folderPath value to set.
* @return the FileShareDataset object itself.
*/
public FileShareDataset setFolderPath(Object folderPath) {
this.folderPath = folderPath;
return this;
}
/**
* Get the fileName property: The name of the on-premises file system. Type: string (or Expression with resultType
* string).
*
* @return the fileName value.
*/
public Object getFileName() {
return this.fileName;
}
/**
* Set the fileName property: The name of the on-premises file system. Type: string (or Expression with resultType
* string).
*
* @param fileName the fileName value to set.
* @return the FileShareDataset object itself.
*/
public FileShareDataset setFileName(Object fileName) {
this.fileName = fileName;
return this;
}
/**
* Get the modifiedDatetimeStart property: The start of file's modified datetime. Type: string (or Expression with
* resultType string).
*
* @return the modifiedDatetimeStart value.
*/
public Object getModifiedDatetimeStart() {
return this.modifiedDatetimeStart;
}
/**
* Set the modifiedDatetimeStart property: The start of file's modified datetime. Type: string (or Expression with
* resultType string).
*
* @param modifiedDatetimeStart the modifiedDatetimeStart value to set.
* @return the FileShareDataset object itself.
*/
public FileShareDataset setModifiedDatetimeStart(Object modifiedDatetimeStart) {
this.modifiedDatetimeStart = modifiedDatetimeStart;
return this;
}
/**
* Get the modifiedDatetimeEnd property: The end of file's modified datetime. Type: string (or Expression with
* resultType string).
*
* @return the modifiedDatetimeEnd value.
*/
public Object getModifiedDatetimeEnd() {
return this.modifiedDatetimeEnd;
}
/**
* Set the modifiedDatetimeEnd property: The end of file's modified datetime. Type: string (or Expression with
* resultType string).
*
* @param modifiedDatetimeEnd the modifiedDatetimeEnd value to set.
* @return the FileShareDataset object itself.
*/
public FileShareDataset setModifiedDatetimeEnd(Object modifiedDatetimeEnd) {
this.modifiedDatetimeEnd = modifiedDatetimeEnd;
return this;
}
/**
* Get the format property: The format of the files.
*
* @return the format value.
*/
public DatasetStorageFormat getFormat() {
return this.format;
}
/**
* Set the format property: The format of the files.
*
* @param format the format value to set.
* @return the FileShareDataset object itself.
*/
public FileShareDataset setFormat(DatasetStorageFormat format) {
this.format = format;
return this;
}
/**
* Get the fileFilter property: Specify a filter to be used to select a subset of files in the folderPath rather
* than all files. Type: string (or Expression with resultType string).
*
* @return the fileFilter value.
*/
public Object getFileFilter() {
return this.fileFilter;
}
/**
* Set the fileFilter property: Specify a filter to be used to select a subset of files in the folderPath rather
* than all files. Type: string (or Expression with resultType string).
*
* @param fileFilter the fileFilter value to set.
* @return the FileShareDataset object itself.
*/
public FileShareDataset setFileFilter(Object fileFilter) {
this.fileFilter = fileFilter;
return this;
}
/**
* Get the compression property: The data compression method used for the file system.
*
* @return the compression value.
*/
public DatasetCompression getCompression() {
return this.compression;
}
/**
* Set the compression property: The data compression method used for the file system.
*
* @param compression the compression value to set.
* @return the FileShareDataset object itself.
*/
public FileShareDataset setCompression(DatasetCompression compression) {
this.compression = compression;
return this;
}
}