共用方式為


LibraryRequirements Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.LibraryRequirements

Implements

public final class LibraryRequirements
implements JsonSerializable<LibraryRequirements>

Spark pool library version requirements Library requirements for a Big Data pool powered by Apache Spark.

Constructor Summary

Constructor Description
LibraryRequirements()

Creates an instance of LibraryRequirements class.

Method Summary

Modifier and Type Method and Description
String content()

Get the content property: The library requirements.

String filename()

Get the filename property: The filename of the library requirements file.

static LibraryRequirements fromJson(JsonReader jsonReader)

Reads an instance of LibraryRequirements from the JsonReader.

OffsetDateTime time()

Get the time property: The last update time of the library requirements file.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LibraryRequirements withContent(String content)

Set the content property: The library requirements.

LibraryRequirements withFilename(String filename)

Set the filename property: The filename of the library requirements file.

Methods inherited from java.lang.Object

Constructor Details

LibraryRequirements

public LibraryRequirements()

Creates an instance of LibraryRequirements class.

Method Details

content

public String content()

Get the content property: The library requirements.

Returns:

the content value.

filename

public String filename()

Get the filename property: The filename of the library requirements file.

Returns:

the filename value.

fromJson

public static LibraryRequirements fromJson(JsonReader jsonReader)

Reads an instance of LibraryRequirements from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LibraryRequirements 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 LibraryRequirements.

time

public OffsetDateTime time()

Get the time property: The last update time of the library requirements file.

Returns:

the time value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withContent

public LibraryRequirements withContent(String content)

Set the content property: The library requirements.

Parameters:

content - the content value to set.

Returns:

the LibraryRequirements object itself.

withFilename

public LibraryRequirements withFilename(String filename)

Set the filename property: The filename of the library requirements file.

Parameters:

filename - the filename value to set.

Returns:

the LibraryRequirements object itself.

Applies to