Class WorkbookTemplateProperties
- java.lang.Object
-
- com.azure.resourcemanager.applicationinsights.fluent.models.WorkbookTemplateProperties
-
public final class WorkbookTemplateProperties extends Object
Properties that contain a workbook template.
-
-
Constructor Summary
Constructors Constructor Description WorkbookTemplateProperties()
-
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.WorkbookTemplateProperties
withAuthor(String author)
Set the author property: Information about the author of the workbook template.WorkbookTemplateProperties
withGalleries(List<WorkbookTemplateGallery> galleries)
Set the galleries property: Workbook galleries supported by the template.WorkbookTemplateProperties
withLocalized(Map<String,List<WorkbookTemplateLocalizedGallery>> localized)
Set the localized property: Key value pair of localized gallery.WorkbookTemplateProperties
withPriority(Integer priority)
Set the priority property: Priority of the template.WorkbookTemplateProperties
withTemplateData(Object templateData)
Set the templateData property: Valid JSON object containing workbook template payload.
-
-
-
Method Detail
-
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 WorkbookTemplateProperties 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 WorkbookTemplateProperties object itself.
-
author
public String author()
Get the author property: Information about the author of the workbook template.- Returns:
- the author value.
-
withAuthor
public WorkbookTemplateProperties withAuthor(String author)
Set the author property: Information about the author of the workbook template.- Parameters:
author
- the author value to set.- Returns:
- the WorkbookTemplateProperties object itself.
-
templateData
public Object templateData()
Get the templateData property: Valid JSON object containing workbook template payload.- Returns:
- the templateData value.
-
withTemplateData
public WorkbookTemplateProperties withTemplateData(Object templateData)
Set the templateData property: Valid JSON object containing workbook template payload.- Parameters:
templateData
- the templateData value to set.- Returns:
- the WorkbookTemplateProperties object itself.
-
galleries
public List<WorkbookTemplateGallery> galleries()
Get the galleries property: Workbook galleries supported by the template.- Returns:
- the galleries value.
-
withGalleries
public WorkbookTemplateProperties withGalleries(List<WorkbookTemplateGallery> galleries)
Set the galleries property: Workbook galleries supported by the template.- Parameters:
galleries
- the galleries value to set.- Returns:
- the WorkbookTemplateProperties 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 WorkbookTemplateProperties 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 WorkbookTemplateProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-