次の方法で共有


WorkbookTemplateGallery Class

  • java.lang.Object
    • com.azure.resourcemanager.applicationinsights.models.WorkbookTemplateGallery

Implements

public final class WorkbookTemplateGallery
implements JsonSerializable<WorkbookTemplateGallery>

Gallery information for a workbook template.

Constructor Summary

Constructor Description
WorkbookTemplateGallery()

Creates an instance of WorkbookTemplateGallery class.

Method Summary

Modifier and Type Method and Description
String category()

Get the category property: Category for the gallery.

static WorkbookTemplateGallery fromJson(JsonReader jsonReader)

Reads an instance of WorkbookTemplateGallery from the JsonReader.

String name()

Get the name property: Name of the workbook template in the gallery.

Integer order()

Get the order property: Order of the template within the gallery.

String resourceType()

Get the resourceType property: Azure resource type supported by the gallery.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of workbook supported by the workbook template.

void validate()

Validates the instance.

WorkbookTemplateGallery withCategory(String category)

Set the category property: Category for the gallery.

WorkbookTemplateGallery withName(String name)

Set the name property: Name of the workbook template in the gallery.

WorkbookTemplateGallery withOrder(Integer order)

Set the order property: Order of the template within the gallery.

WorkbookTemplateGallery withResourceType(String resourceType)

Set the resourceType property: Azure resource type supported by the gallery.

WorkbookTemplateGallery withType(String type)

Set the type property: Type of workbook supported by the workbook template.

Methods inherited from java.lang.Object

Constructor Details

WorkbookTemplateGallery

public WorkbookTemplateGallery()

Creates an instance of WorkbookTemplateGallery class.

Method Details

category

public String category()

Get the category property: Category for the gallery.

Returns:

the category value.

fromJson

public static WorkbookTemplateGallery fromJson(JsonReader jsonReader)

Reads an instance of WorkbookTemplateGallery from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WorkbookTemplateGallery if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the WorkbookTemplateGallery.

name

public String name()

Get the name property: Name of the workbook template in the gallery.

Returns:

the name value.

order

public Integer order()

Get the order property: Order of the template within the gallery.

Returns:

the order value.

resourceType

public String resourceType()

Get the resourceType property: Azure resource type supported by the gallery.

Returns:

the resourceType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of workbook supported by the workbook template.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withCategory

public WorkbookTemplateGallery withCategory(String category)

Set the category property: Category for the gallery.

Parameters:

category - the category value to set.

Returns:

the WorkbookTemplateGallery object itself.

withName

public WorkbookTemplateGallery withName(String name)

Set the name property: Name of the workbook template in the gallery.

Parameters:

name - the name value to set.

Returns:

the WorkbookTemplateGallery object itself.

withOrder

public WorkbookTemplateGallery withOrder(Integer order)

Set the order property: Order of the template within the gallery.

Parameters:

order - the order value to set.

Returns:

the WorkbookTemplateGallery object itself.

withResourceType

public WorkbookTemplateGallery withResourceType(String resourceType)

Set the resourceType property: Azure resource type supported by the gallery.

Parameters:

resourceType - the resourceType value to set.

Returns:

the WorkbookTemplateGallery object itself.

withType

public WorkbookTemplateGallery withType(String type)

Set the type property: Type of workbook supported by the workbook template.

Parameters:

type - the type value to set.

Returns:

the WorkbookTemplateGallery object itself.

Applies to