Share via


DatasetFolder Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.DatasetFolder

Implements

public final class DatasetFolder
implements JsonSerializable<DatasetFolder>

The folder that this Dataset is in. If not specified, Dataset will appear at the root level.

Constructor Summary

Constructor Description
DatasetFolder()

Creates an instance of DatasetFolder class.

Method Summary

Modifier and Type Method and Description
static DatasetFolder fromJson(JsonReader jsonReader)

Reads an instance of DatasetFolder from the JsonReader.

String name()

Get the name property: The name of the folder that this Dataset is in.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DatasetFolder withName(String name)

Set the name property: The name of the folder that this Dataset is in.

Methods inherited from java.lang.Object

Constructor Details

DatasetFolder

public DatasetFolder()

Creates an instance of DatasetFolder class.

Method Details

fromJson

public static DatasetFolder fromJson(JsonReader jsonReader)

Reads an instance of DatasetFolder from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DatasetFolder if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DatasetFolder.

name

public String name()

Get the name property: The name of the folder that this Dataset is in.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public DatasetFolder withName(String name)

Set the name property: The name of the folder that this Dataset is in.

Parameters:

name - the name value to set.

Returns:

the DatasetFolder object itself.

Applies to