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
-
public final class WorkbookTemplateInner extends WorkbookTemplateResource
An Application Insights workbook template definition.
-
-
Constructor Summary
Constructors Constructor Description WorkbookTemplateInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
author()
Get the author property: Information about the author of the workbook template.List<WorkbookTemplateGallery>
galleries()
Get the galleries property: Workbook galleries supported by the template.Map<String,List<WorkbookTemplateLocalizedGallery>>
localized()
Get the localized property: Key value pair of localized gallery.Integer
priority()
Get the priority property: Priority of the template.Object
templateData()
Get the templateData property: Valid JSON object containing workbook template payload.void
validate()
Validates the instance.WorkbookTemplateInner
withAuthor(String author)
Set the author property: Information about the author of the workbook template.WorkbookTemplateInner
withGalleries(List<WorkbookTemplateGallery> galleries)
Set the galleries property: Workbook galleries supported by the template.WorkbookTemplateInner
withLocalized(Map<String,List<WorkbookTemplateLocalizedGallery>> localized)
Set the localized property: Key value pair of localized gallery.WorkbookTemplateInner
withLocation(String location)
WorkbookTemplateInner
withPriority(Integer priority)
Set the priority property: Priority of the template.WorkbookTemplateInner
withTags(Map<String,String> tags)
WorkbookTemplateInner
withTemplateData(Object templateData)
Set the templateData property: Valid JSON object containing workbook template payload.
-
-
-
Method Detail
-
withLocation
public WorkbookTemplateInner withLocation(String location)
- Overrides:
withLocation
in classWorkbookTemplateResource
-
withTags
public WorkbookTemplateInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classWorkbookTemplateResource
-
priority
public Integer 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
public WorkbookTemplateInner withPriority(Integer priority)
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
public String author()
Get the author property: Information about the author of the workbook template.- Returns:
- the author value.
-
withAuthor
public WorkbookTemplateInner withAuthor(String author)
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
public Object templateData()
Get the templateData property: Valid JSON object containing workbook template payload.- Returns:
- the templateData value.
-
withTemplateData
public WorkbookTemplateInner withTemplateData(Object templateData)
Set the templateData property: Valid JSON object containing workbook template payload.- Parameters:
templateData
- the templateData value to set.- Returns:
- the WorkbookTemplateInner object itself.
-
galleries
public List<WorkbookTemplateGallery> galleries()
Get the galleries property: Workbook galleries supported by the template.- Returns:
- the galleries value.
-
withGalleries
public WorkbookTemplateInner withGalleries(List<WorkbookTemplateGallery> galleries)
Set the galleries property: Workbook galleries supported by the template.- Parameters:
galleries
- the galleries value to set.- Returns:
- the WorkbookTemplateInner object itself.
-
localized
public Map<String,List<WorkbookTemplateLocalizedGallery>> 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.
-
-