Class JsonDatasetTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.JsonDatasetTypeProperties
Json dataset properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the compression property: The data compression method used for the json dataset.Get the encodingName property: The code page name of the preferred encoding.location()
Get the location property: The location of the json data storage.void
validate()
Validates the instance.withCompression
(DatasetCompression compression) Set the compression property: The data compression method used for the json dataset.withEncodingName
(Object encodingName) Set the encodingName property: The code page name of the preferred encoding.withLocation
(DatasetLocation location) Set the location property: The location of the json data storage.
-
Constructor Details
-
JsonDatasetTypeProperties
public JsonDatasetTypeProperties()
-
-
Method Details
-
location
Get the location property: The location of the json data storage.- Returns:
- the location value.
-
withLocation
Set the location property: The location of the json data storage.- Parameters:
location
- the location value to set.- Returns:
- the JsonDatasetTypeProperties object itself.
-
encodingName
Get the encodingName property: The code page name of the preferred encoding. If not specified, 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
Set the encodingName property: The code page name of the preferred encoding. If not specified, 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 JsonDatasetTypeProperties object itself.
-
compression
Get the compression property: The data compression method used for the json dataset.- Returns:
- the compression value.
-
withCompression
Set the compression property: The data compression method used for the json dataset.- Parameters:
compression
- the compression value to set.- Returns:
- the JsonDatasetTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-