Class JsonDatasetTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.JsonDatasetTypeProperties
-
public final class JsonDatasetTypeProperties extends Object
Json dataset properties.
-
-
Constructor Summary
Constructors Constructor Description JsonDatasetTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasetCompression
compression()
Get the compression property: The data compression method used for the json dataset.Object
encodingName()
Get the encodingName property: The code page name of the preferred encoding.DatasetLocation
location()
Get the location property: The location of the json data storage.void
validate()
Validates the instance.JsonDatasetTypeProperties
withCompression(DatasetCompression compression)
Set the compression property: The data compression method used for the json dataset.JsonDatasetTypeProperties
withEncodingName(Object encodingName)
Set the encodingName property: The code page name of the preferred encoding.JsonDatasetTypeProperties
withLocation(DatasetLocation location)
Set the location property: The location of the json data storage.
-
-
-
Method Detail
-
location
public DatasetLocation location()
Get the location property: The location of the json data storage.- Returns:
- the location value.
-
withLocation
public JsonDatasetTypeProperties withLocation(DatasetLocation location)
Set the location property: The location of the json data storage.- Parameters:
location
- the location value to set.- Returns:
- the JsonDatasetTypeProperties object itself.
-
encodingName
public Object 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
public JsonDatasetTypeProperties withEncodingName(Object encodingName)
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
public DatasetCompression compression()
Get the compression property: The data compression method used for the json dataset.- Returns:
- the compression value.
-
withCompression
public JsonDatasetTypeProperties withCompression(DatasetCompression compression)
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.
-
-