Class WorkbookTemplateInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.applicationinsights.models.WorkbookTemplateResource
com.azure.resourcemanager.applicationinsights.fluent.models.WorkbookTemplateInner
An Application Insights workbook template definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthor()
Get the author property: Information about the author of the workbook template.Get the galleries property: Workbook galleries supported by the template.Get the localized property: Key value pair of localized gallery.priority()
Get the priority property: Priority of the template.Get the templateData property: Valid JSON object containing workbook template payload.void
validate()
Validates the instance.withAuthor
(String author) Set the author property: Information about the author of the workbook template.withGalleries
(List<WorkbookTemplateGallery> galleries) Set the galleries property: Workbook galleries supported by the template.withLocalized
(Map<String, List<WorkbookTemplateLocalizedGallery>> localized) Set the localized property: Key value pair of localized gallery.withLocation
(String location) withPriority
(Integer priority) Set the priority property: Priority of the template.withTemplateData
(Object templateData) Set the templateData property: Valid JSON object containing workbook template payload.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
WorkbookTemplateInner
public WorkbookTemplateInner()
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classWorkbookTemplateResource
-
withTags
- Overrides:
withTags
in classWorkbookTemplateResource
-
priority
Get the priority property: Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.- Returns:
- the priority value.
-
withPriority
Set the priority property: Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.- Parameters:
priority
- the priority value to set.- Returns:
- the WorkbookTemplateInner object itself.
-
author
Get the author property: Information about the author of the workbook template.- Returns:
- the author value.
-
withAuthor
Set the author property: Information about the author of the workbook template.- Parameters:
author
- the author value to set.- Returns:
- the WorkbookTemplateInner object itself.
-
templateData
Get the templateData property: Valid JSON object containing workbook template payload.- Returns:
- the templateData value.
-
withTemplateData
Set the templateData property: Valid JSON object containing workbook template payload.- Parameters:
templateData
- the templateData value to set.- Returns:
- the WorkbookTemplateInner object itself.
-
galleries
Get the galleries property: Workbook galleries supported by the template.- Returns:
- the galleries value.
-
withGalleries
Set the galleries property: Workbook galleries supported by the template.- Parameters:
galleries
- the galleries value to set.- Returns:
- the WorkbookTemplateInner object itself.
-
localized
Get the localized property: Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.- Returns:
- the localized value.
-
withLocalized
public WorkbookTemplateInner withLocalized(Map<String, List<WorkbookTemplateLocalizedGallery>> localized) Set the localized property: Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.- Parameters:
localized
- the localized value to set.- Returns:
- the WorkbookTemplateInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classWorkbookTemplateResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-