Class DelimitedTextDatasetTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.DelimitedTextDatasetTypeProperties
-
public final class DelimitedTextDatasetTypeProperties extends Object
DelimitedText dataset properties.
-
-
Constructor Summary
Constructors Constructor Description DelimitedTextDatasetTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
columnDelimiter()
Get the columnDelimiter property: The column delimiter.Object
compressionCodec()
Get the compressionCodec property: The data compressionCodec.Object
compressionLevel()
Get the compressionLevel property: The data compression method used for DelimitedText.Object
encodingName()
Get the encodingName property: The code page name of the preferred encoding.Object
escapeChar()
Get the escapeChar property: The escape character.Object
firstRowAsHeader()
Get the firstRowAsHeader property: When used as input, treat the first row of data as headers.DatasetLocation
location()
Get the location property: The location of the delimited text storage.Object
nullValue()
Get the nullValue property: The null value string.Object
quoteChar()
Get the quoteChar property: The quote character.Object
rowDelimiter()
Get the rowDelimiter property: The row delimiter.void
validate()
Validates the instance.DelimitedTextDatasetTypeProperties
withColumnDelimiter(Object columnDelimiter)
Set the columnDelimiter property: The column delimiter.DelimitedTextDatasetTypeProperties
withCompressionCodec(Object compressionCodec)
Set the compressionCodec property: The data compressionCodec.DelimitedTextDatasetTypeProperties
withCompressionLevel(Object compressionLevel)
Set the compressionLevel property: The data compression method used for DelimitedText.DelimitedTextDatasetTypeProperties
withEncodingName(Object encodingName)
Set the encodingName property: The code page name of the preferred encoding.DelimitedTextDatasetTypeProperties
withEscapeChar(Object escapeChar)
Set the escapeChar property: The escape character.DelimitedTextDatasetTypeProperties
withFirstRowAsHeader(Object firstRowAsHeader)
Set the firstRowAsHeader property: When used as input, treat the first row of data as headers.DelimitedTextDatasetTypeProperties
withLocation(DatasetLocation location)
Set the location property: The location of the delimited text storage.DelimitedTextDatasetTypeProperties
withNullValue(Object nullValue)
Set the nullValue property: The null value string.DelimitedTextDatasetTypeProperties
withQuoteChar(Object quoteChar)
Set the quoteChar property: The quote character.DelimitedTextDatasetTypeProperties
withRowDelimiter(Object rowDelimiter)
Set the rowDelimiter property: The row delimiter.
-
-
-
Method Detail
-
location
public DatasetLocation location()
Get the location property: The location of the delimited text storage.- Returns:
- the location value.
-
withLocation
public DelimitedTextDatasetTypeProperties withLocation(DatasetLocation location)
Set the location property: The location of the delimited text storage.- Parameters:
location
- the location value to set.- Returns:
- the DelimitedTextDatasetTypeProperties object itself.
-
columnDelimiter
public Object columnDelimiter()
Get the columnDelimiter property: The column delimiter. Type: string (or Expression with resultType string).- Returns:
- the columnDelimiter value.
-
withColumnDelimiter
public DelimitedTextDatasetTypeProperties withColumnDelimiter(Object columnDelimiter)
Set the columnDelimiter property: The column delimiter. Type: string (or Expression with resultType string).- Parameters:
columnDelimiter
- the columnDelimiter value to set.- Returns:
- the DelimitedTextDatasetTypeProperties object itself.
-
rowDelimiter
public Object rowDelimiter()
Get the rowDelimiter property: The row delimiter. Type: string (or Expression with resultType string).- Returns:
- the rowDelimiter value.
-
withRowDelimiter
public DelimitedTextDatasetTypeProperties withRowDelimiter(Object rowDelimiter)
Set the rowDelimiter property: The row delimiter. Type: string (or Expression with resultType string).- Parameters:
rowDelimiter
- the rowDelimiter value to set.- Returns:
- the DelimitedTextDatasetTypeProperties object itself.
-
encodingName
public Object encodingName()
Get the encodingName property: The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string).- Returns:
- the encodingName value.
-
withEncodingName
public DelimitedTextDatasetTypeProperties withEncodingName(Object encodingName)
Set the encodingName property: The code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string).- Parameters:
encodingName
- the encodingName value to set.- Returns:
- the DelimitedTextDatasetTypeProperties object itself.
-
compressionCodec
public Object compressionCodec()
Get the compressionCodec property: The data compressionCodec. Type: string (or Expression with resultType string).- Returns:
- the compressionCodec value.
-
withCompressionCodec
public DelimitedTextDatasetTypeProperties withCompressionCodec(Object compressionCodec)
Set the compressionCodec property: The data compressionCodec. Type: string (or Expression with resultType string).- Parameters:
compressionCodec
- the compressionCodec value to set.- Returns:
- the DelimitedTextDatasetTypeProperties object itself.
-
compressionLevel
public Object compressionLevel()
Get the compressionLevel property: The data compression method used for DelimitedText.- Returns:
- the compressionLevel value.
-
withCompressionLevel
public DelimitedTextDatasetTypeProperties withCompressionLevel(Object compressionLevel)
Set the compressionLevel property: The data compression method used for DelimitedText.- Parameters:
compressionLevel
- the compressionLevel value to set.- Returns:
- the DelimitedTextDatasetTypeProperties object itself.
-
quoteChar
public Object quoteChar()
Get the quoteChar property: The quote character. Type: string (or Expression with resultType string).- Returns:
- the quoteChar value.
-
withQuoteChar
public DelimitedTextDatasetTypeProperties withQuoteChar(Object quoteChar)
Set the quoteChar property: The quote character. Type: string (or Expression with resultType string).- Parameters:
quoteChar
- the quoteChar value to set.- Returns:
- the DelimitedTextDatasetTypeProperties object itself.
-
escapeChar
public Object escapeChar()
Get the escapeChar property: The escape character. Type: string (or Expression with resultType string).- Returns:
- the escapeChar value.
-
withEscapeChar
public DelimitedTextDatasetTypeProperties withEscapeChar(Object escapeChar)
Set the escapeChar property: The escape character. Type: string (or Expression with resultType string).- Parameters:
escapeChar
- the escapeChar value to set.- Returns:
- the DelimitedTextDatasetTypeProperties object itself.
-
firstRowAsHeader
public Object firstRowAsHeader()
Get the firstRowAsHeader property: When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean).- Returns:
- the firstRowAsHeader value.
-
withFirstRowAsHeader
public DelimitedTextDatasetTypeProperties withFirstRowAsHeader(Object firstRowAsHeader)
Set the firstRowAsHeader property: When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean).- Parameters:
firstRowAsHeader
- the firstRowAsHeader value to set.- Returns:
- the DelimitedTextDatasetTypeProperties object itself.
-
nullValue
public Object nullValue()
Get the nullValue property: The null value string. Type: string (or Expression with resultType string).- Returns:
- the nullValue value.
-
withNullValue
public DelimitedTextDatasetTypeProperties withNullValue(Object nullValue)
Set the nullValue property: The null value string. Type: string (or Expression with resultType string).- Parameters:
nullValue
- the nullValue value to set.- Returns:
- the DelimitedTextDatasetTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-