Class WorkbookInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.applicationinsights.models.WorkbookResource
-
- com.azure.resourcemanager.applicationinsights.fluent.models.WorkbookInner
-
public final class WorkbookInner extends WorkbookResource
An Application Insights workbook definition.
-
-
Constructor Summary
Constructors Constructor Description WorkbookInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.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.com.azure.core.management.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.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(Kind 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 class com.azure.resourcemanager.applicationinsights.models.WorkbookResource
etag, identity, kind
-
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
withIdentity
public WorkbookInner withIdentity(WorkbookResourceIdentity identity)
Set the identity property: Identity used for BYOS.- Overrides:
withIdentity
in classWorkbookResource
- Parameters:
identity
- the identity value to set.- Returns:
- the WorkbookResource object itself.
-
withKind
public WorkbookInner withKind(Kind kind)
Set the kind property: The kind of workbook. Only valid value is shared.- Overrides:
withKind
in classWorkbookResource
- Parameters:
kind
- the kind value to set.- Returns:
- the WorkbookResource object itself.
-
withEtag
public WorkbookInner withEtag(String etag)
Set the etag property: Resource etag.- Overrides:
withEtag
in classWorkbookResource
- Parameters:
etag
- the etag value to set.- Returns:
- the WorkbookResource object itself.
-
withLocation
public WorkbookInner withLocation(String location)
- Overrides:
withLocation
in classWorkbookResource
-
withTags
public WorkbookInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classWorkbookResource
-
displayName
public String displayName()
Get the displayName property: The user-defined name (display name) of the workbook.- Returns:
- the displayName value.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
category
public String category()
Get the category property: Workbook category, as defined by the user at creation time.- Returns:
- the category 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.
-
tagsPropertiesTags
public List<String> tagsPropertiesTags()
Get the tags property: Being deprecated, please use the other tags field.- Returns:
- the tags value.
-
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.
-
userId
public String userId()
Get the userId property: Unique user id of the specific user that owns this workbook.- Returns:
- the userId value.
-
sourceId
public String sourceId()
Get the sourceId property: ResourceId for a source resource.- Returns:
- the sourceId value.
-
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.
-
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.
-
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.
-
description
public String description()
Get the description property: The description of the workbook.- Returns:
- the description value.
-
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.
-
revision
public String revision()
Get the revision property: The unique revision id for this workbook definition.- Returns:
- the revision value.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classWorkbookResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-