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