LibraryRequirements Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. LibraryRequirements
- com.
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 Library |
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
Library |
fromJson(JsonReader jsonReader)
Reads an instance of Library |
|
Offset |
time()
Get the time property: The last update time of the library requirements file. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Library |
withContent(String content)
Set the content property: The library requirements. |
|
Library |
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:
filename
public String filename()
Get the filename property: The filename of the library requirements file.
Returns:
fromJson
public static LibraryRequirements fromJson(JsonReader jsonReader)
Reads an instance of LibraryRequirements from the JsonReader.
Parameters:
Returns:
Throws:
time
public OffsetDateTime time()
Get the time property: The last update time of the library requirements file.
Returns:
toJson
validate
public void validate()
Validates the instance.
withContent
public LibraryRequirements withContent(String content)
Set the content property: The library requirements.
Parameters:
Returns:
withFilename
public LibraryRequirements withFilename(String filename)
Set the filename property: The filename of the library requirements file.
Parameters:
Returns: