Class MyWorkbookInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.applicationinsights.models.MyWorkbookResource
-
- com.azure.resourcemanager.applicationinsights.fluent.models.MyWorkbookInner
-
public final class MyWorkbookInner extends MyWorkbookResource
An Application Insights private workbook definition.
-
-
Constructor Summary
Constructors Constructor Description MyWorkbookInner()
-
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
displayName()
Get the displayName property: The user-defined name of the private workbook.Kind
kind()
Get the kind property: The kind of workbook.String
serializedData()
Get the serializedData property: Configuration of this particular private workbook.String
sourceId()
Get the sourceId property: Optional resourceId for a source resource.String
storageUri()
Get the storageUri property: BYOS Storage Account URI.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: A list of 0 or more tags that are associated with this private workbook definition.String
timeModified()
Get the timeModified property: Date and time in UTC of the last modification that was made to this private workbook definition.String
userId()
Get the userId property: Unique user id of the specific user that owns this private workbook.void
validate()
Validates the instance.String
version()
Get the version property: This instance's version of the data model.MyWorkbookInner
withCategory(String category)
Set the category property: Workbook category, as defined by the user at creation time.MyWorkbookInner
withDisplayName(String displayName)
Set the displayName property: The user-defined name of the private workbook.MyWorkbookInner
withEtag(Map<String,String> etag)
Set the etag property: Resource etag.MyWorkbookInner
withId(String id)
Set the id property: Azure resource Id.MyWorkbookInner
withIdentity(MyWorkbookManagedIdentity identity)
Set the identity property: Identity used for BYOS.MyWorkbookInner
withKind(Kind kind)
Set the kind property: The kind of workbook.MyWorkbookInner
withLocation(String location)
MyWorkbookInner
withName(String name)
Set the name property: Azure resource name.MyWorkbookInner
withSerializedData(String serializedData)
Set the serializedData property: Configuration of this particular private workbook.MyWorkbookInner
withSourceId(String sourceId)
Set the sourceId property: Optional resourceId for a source resource.MyWorkbookInner
withStorageUri(String storageUri)
Set the storageUri property: BYOS Storage Account URI.MyWorkbookInner
withTags(Map<String,String> tags)
MyWorkbookInner
withTagsPropertiesTags(List<String> tags)
Set the tags property: A list of 0 or more tags that are associated with this private workbook definition.MyWorkbookInner
withType(String type)
Set the type property: Azure resource type.MyWorkbookInner
withVersion(String version)
Set the version property: This instance's version of the data model.
-
-
-
Method Detail
-
kind
public Kind kind()
Get the kind property: The kind of workbook. Choices are user and shared.- Returns:
- the kind value.
-
withKind
public MyWorkbookInner withKind(Kind kind)
Set the kind property: The kind of workbook. Choices are user and shared.- Parameters:
kind
- the kind value to set.- Returns:
- the MyWorkbookInner object itself.
-
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 MyWorkbookInner withIdentity(MyWorkbookManagedIdentity identity)
Set the identity property: Identity used for BYOS.- Overrides:
withIdentity
in classMyWorkbookResource
- Parameters:
identity
- the identity value to set.- Returns:
- the MyWorkbookResource object itself.
-
withId
public MyWorkbookInner withId(String id)
Set the id property: Azure resource Id.- Overrides:
withId
in classMyWorkbookResource
- Parameters:
id
- the id value to set.- Returns:
- the MyWorkbookResource object itself.
-
withName
public MyWorkbookInner withName(String name)
Set the name property: Azure resource name.- Overrides:
withName
in classMyWorkbookResource
- Parameters:
name
- the name value to set.- Returns:
- the MyWorkbookResource object itself.
-
withType
public MyWorkbookInner withType(String type)
Set the type property: Azure resource type.- Overrides:
withType
in classMyWorkbookResource
- Parameters:
type
- the type value to set.- Returns:
- the MyWorkbookResource object itself.
-
withEtag
public MyWorkbookInner withEtag(Map<String,String> etag)
Set the etag property: Resource etag.- Overrides:
withEtag
in classMyWorkbookResource
- Parameters:
etag
- the etag value to set.- Returns:
- the MyWorkbookResource object itself.
-
withLocation
public MyWorkbookInner withLocation(String location)
- Overrides:
withLocation
in classMyWorkbookResource
-
withTags
public MyWorkbookInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classMyWorkbookResource
-
displayName
public String displayName()
Get the displayName property: The user-defined name of the private workbook.- Returns:
- the displayName value.
-
withDisplayName
public MyWorkbookInner withDisplayName(String displayName)
Set the displayName property: The user-defined name of the private workbook.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MyWorkbookInner object itself.
-
serializedData
public String serializedData()
Get the serializedData property: Configuration of this particular private workbook. Configuration data is a string containing valid JSON.- Returns:
- the serializedData value.
-
withSerializedData
public MyWorkbookInner withSerializedData(String serializedData)
Set the serializedData property: Configuration of this particular private workbook. Configuration data is a string containing valid JSON.- Parameters:
serializedData
- the serializedData value to set.- Returns:
- the MyWorkbookInner object itself.
-
version
public String version()
Get the version property: This instance's version of the data model. This can change as new features are added that can be marked private workbook.- Returns:
- the version value.
-
withVersion
public MyWorkbookInner withVersion(String version)
Set the version property: This instance's version of the data model. This can change as new features are added that can be marked private workbook.- Parameters:
version
- the version value to set.- Returns:
- the MyWorkbookInner object itself.
-
timeModified
public String timeModified()
Get the timeModified property: Date and time in UTC of the last modification that was made to this private 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 MyWorkbookInner 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 MyWorkbookInner object itself.
-
tagsPropertiesTags
public List<String> tagsPropertiesTags()
Get the tags property: A list of 0 or more tags that are associated with this private workbook definition.- Returns:
- the tags value.
-
withTagsPropertiesTags
public MyWorkbookInner withTagsPropertiesTags(List<String> tags)
Set the tags property: A list of 0 or more tags that are associated with this private workbook definition.- Parameters:
tags
- the tags value to set.- Returns:
- the MyWorkbookInner object itself.
-
userId
public String userId()
Get the userId property: Unique user id of the specific user that owns this private workbook.- Returns:
- the userId value.
-
sourceId
public String sourceId()
Get the sourceId property: Optional resourceId for a source resource.- Returns:
- the sourceId value.
-
withSourceId
public MyWorkbookInner withSourceId(String sourceId)
Set the sourceId property: Optional resourceId for a source resource.- Parameters:
sourceId
- the sourceId value to set.- Returns:
- the MyWorkbookInner object itself.
-
storageUri
public String storageUri()
Get the storageUri property: BYOS Storage Account URI.- Returns:
- the storageUri value.
-
withStorageUri
public MyWorkbookInner withStorageUri(String storageUri)
Set the storageUri property: BYOS Storage Account URI.- Parameters:
storageUri
- the storageUri value to set.- Returns:
- the MyWorkbookInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMyWorkbookResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-