通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WorkbookInner Class

public final class WorkbookInner
extends WorkbookResource

A workbook definition.

Constructor Summary

Constructor Description
WorkbookInner()

Creates an instance of WorkbookInner class.

Method Summary

Modifier and Type Method and Description
String category()

Get the category property: Workbook category, as defined by the user at creation time.

String description()

Get the description property: The description of the workbook.

String displayName()

Get the displayName property: The user-defined name (display name) of the workbook.

static WorkbookInner fromJson(JsonReader jsonReader)

Reads an instance of WorkbookInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String revision()

Get the revision property: The unique revision id for this workbook definition.

String serializedData()

Get the serializedData property: Configuration of this particular workbook.

String sourceId()

Get the sourceId property: ResourceId for a source resource.

String storageUri()

Get the storageUri property: The resourceId to the storage account when bring your own storage is used.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

List<String> tagsPropertiesTags()

Get the tags property: Being deprecated, please use the other tags field.

OffsetDateTime timeModified()

Get the timeModified property: Date and time in UTC of the last modification that was made to this workbook definition.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

String userId()

Get the userId property: Unique user id of the specific user that owns this workbook.

void validate()

Validates the instance.

String version()

Get the version property: Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData.

WorkbookInner withCategory(String category)

Set the category property: Workbook category, as defined by the user at creation time.

WorkbookInner withDescription(String description)

Set the description property: The description of the workbook.

WorkbookInner withDisplayName(String displayName)

Set the displayName property: The user-defined name (display name) of the workbook.

WorkbookInner withEtag(String etag)

Set the etag property: Resource etag.

WorkbookInner withIdentity(WorkbookResourceIdentity identity)

Set the identity property: Identity used for BYOS.

WorkbookInner withKind(WorkbookSharedTypeKind kind)

Set the kind property: The kind of workbook.

WorkbookInner withLocation(String location)
WorkbookInner withSerializedData(String serializedData)

Set the serializedData property: Configuration of this particular workbook.

WorkbookInner withSourceId(String sourceId)

Set the sourceId property: ResourceId for a source resource.

WorkbookInner withStorageUri(String storageUri)

Set the storageUri property: The resourceId to the storage account when bring your own storage is used.

WorkbookInner withTags(Map<String,String> tags)
WorkbookInner withTagsPropertiesTags(List<String> tags)

Set the tags property: Being deprecated, please use the other tags field.

WorkbookInner withVersion(String version)

Set the version property: Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData.

Methods inherited from Resource

Methods inherited from WorkbookResource

Methods inherited from java.lang.Object

Constructor Details

WorkbookInner

public WorkbookInner()

Creates an instance of WorkbookInner class.

Method Details

category

public String category()

Get the category property: Workbook category, as defined by the user at creation time.

Returns:

the category value.

description

public String description()

Get the description property: The description of the workbook.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: The user-defined name (display name) of the workbook.

Returns:

the displayName value.

fromJson

public static WorkbookInner fromJson(JsonReader jsonReader)

Reads an instance of WorkbookInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

WorkbookInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

WorkbookInner.name()

Returns:

the name value.

revision

public String revision()

Get the revision property: The unique revision id for this workbook definition.

Returns:

the revision value.

serializedData

public String serializedData()

Get the serializedData property: Configuration of this particular workbook. Configuration data is a string containing valid JSON.

Returns:

the serializedData value.

sourceId

public String sourceId()

Get the sourceId property: ResourceId for a source resource.

Returns:

the sourceId value.

storageUri

public String storageUri()

Get the storageUri property: The resourceId to the storage account when bring your own storage is used.

Returns:

the storageUri value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

tagsPropertiesTags

public List<String> tagsPropertiesTags()

Get the tags property: Being deprecated, please use the other tags field.

Returns:

the tags value.

timeModified

public OffsetDateTime timeModified()

Get the timeModified property: Date and time in UTC of the last modification that was made to this workbook definition.

Returns:

the timeModified value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkbookInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

WorkbookInner.type()

Returns:

the type value.

userId

public String userId()

Get the userId property: Unique user id of the specific user that owns this workbook.

Returns:

the userId value.

validate

public void validate()

Validates the instance.

Overrides:

WorkbookInner.validate()

version

public String version()

Get the version property: Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData.

Returns:

the version value.

withCategory

public WorkbookInner withCategory(String category)

Set the category property: Workbook category, as defined by the user at creation time.

Parameters:

category - the category value to set.

Returns:

the WorkbookInner object itself.

withDescription

public WorkbookInner withDescription(String description)

Set the description property: The description of the workbook.

Parameters:

description - the description value to set.

Returns:

the WorkbookInner object itself.

withDisplayName

public WorkbookInner withDisplayName(String displayName)

Set the displayName property: The user-defined name (display name) of the workbook.

Parameters:

displayName - the displayName value to set.

Returns:

the WorkbookInner object itself.

withEtag

public WorkbookInner withEtag(String etag)

Set the etag property: Resource etag.

Overrides:

WorkbookInner.withEtag(String etag)

Parameters:

etag

withIdentity

public WorkbookInner withIdentity(WorkbookResourceIdentity identity)

Set the identity property: Identity used for BYOS.

Overrides:

WorkbookInner.withIdentity(WorkbookResourceIdentity identity)

Parameters:

identity

withKind

public WorkbookInner withKind(WorkbookSharedTypeKind kind)

Set the kind property: The kind of workbook. Only valid value is shared.

Overrides:

WorkbookInner.withKind(WorkbookSharedTypeKind kind)

Parameters:

kind

withLocation

public WorkbookInner withLocation(String location)

Overrides:

WorkbookInner.withLocation(String location)

Parameters:

location

withSerializedData

public WorkbookInner withSerializedData(String serializedData)

Set the serializedData property: Configuration of this particular workbook. Configuration data is a string containing valid JSON.

Parameters:

serializedData - the serializedData value to set.

Returns:

the WorkbookInner object itself.

withSourceId

public WorkbookInner withSourceId(String sourceId)

Set the sourceId property: ResourceId for a source resource.

Parameters:

sourceId - the sourceId value to set.

Returns:

the WorkbookInner object itself.

withStorageUri

public WorkbookInner withStorageUri(String storageUri)

Set the storageUri property: The resourceId to the storage account when bring your own storage is used.

Parameters:

storageUri - the storageUri value to set.

Returns:

the WorkbookInner object itself.

withTags

public WorkbookInner withTags(Map<String,String> tags)

Overrides:

WorkbookInner.withTags(Map<String,String> tags)

Parameters:

tags

withTagsPropertiesTags

public WorkbookInner withTagsPropertiesTags(List<String> tags)

Set the tags property: Being deprecated, please use the other tags field.

Parameters:

tags - the tags value to set.

Returns:

the WorkbookInner object itself.

withVersion

public WorkbookInner withVersion(String version)

Set the version property: Workbook schema version format, like 'Notebook/1.0', which should match the workbook in serializedData.

Parameters:

version - the version value to set.

Returns:

the WorkbookInner object itself.

Applies to