共用方式為


LibraryInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.fluent.models.LibraryInfo

Implements

public final class LibraryInfo
implements JsonSerializable<LibraryInfo>

Information about a library/package created at the workspace level. Library/package information of a Big Data pool powered by Apache Spark.

Constructor Summary

Constructor Description
LibraryInfo()

Creates an instance of LibraryInfo class.

Method Summary

Modifier and Type Method and Description
String containerName()

Get the containerName property: Storage blob container name.

String creatorId()

Get the creatorId property: Creator Id of the library/package.

static LibraryInfo fromJson(JsonReader jsonReader)

Reads an instance of LibraryInfo from the JsonReader.

String name()

Get the name property: Name of the library.

String path()

Get the path property: Storage blob path of library.

String provisioningStatus()

Get the provisioningStatus property: Provisioning status of the library/package.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the library.

OffsetDateTime uploadedTimestamp()

Get the uploadedTimestamp property: The last update time of the library.

void validate()

Validates the instance.

LibraryInfo withContainerName(String containerName)

Set the containerName property: Storage blob container name.

LibraryInfo withName(String name)

Set the name property: Name of the library.

LibraryInfo withPath(String path)

Set the path property: Storage blob path of library.

LibraryInfo withType(String type)

Set the type property: Type of the library.

Methods inherited from java.lang.Object

Constructor Details

LibraryInfo

public LibraryInfo()

Creates an instance of LibraryInfo class.

Method Details

containerName

public String containerName()

Get the containerName property: Storage blob container name.

Returns:

the containerName value.

creatorId

public String creatorId()

Get the creatorId property: Creator Id of the library/package.

Returns:

the creatorId value.

fromJson

public static LibraryInfo fromJson(JsonReader jsonReader)

Reads an instance of LibraryInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the library.

Returns:

the name value.

path

public String path()

Get the path property: Storage blob path of library.

Returns:

the path value.

provisioningStatus

public String provisioningStatus()

Get the provisioningStatus property: Provisioning status of the library/package.

Returns:

the provisioningStatus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the library.

Returns:

the type value.

uploadedTimestamp

public OffsetDateTime uploadedTimestamp()

Get the uploadedTimestamp property: The last update time of the library.

Returns:

the uploadedTimestamp value.

validate

public void validate()

Validates the instance.

withContainerName

public LibraryInfo withContainerName(String containerName)

Set the containerName property: Storage blob container name.

Parameters:

containerName - the containerName value to set.

Returns:

the LibraryInfo object itself.

withName

public LibraryInfo withName(String name)

Set the name property: Name of the library.

Parameters:

name - the name value to set.

Returns:

the LibraryInfo object itself.

withPath

public LibraryInfo withPath(String path)

Set the path property: Storage blob path of library.

Parameters:

path - the path value to set.

Returns:

the LibraryInfo object itself.

withType

public LibraryInfo withType(String type)

Set the type property: Type of the library.

Parameters:

type - the type value to set.

Returns:

the LibraryInfo object itself.

Applies to