次の方法で共有


ApplicationInsightsComponentAnalyticsItemProperties Class

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

Implements

public final class ApplicationInsightsComponentAnalyticsItemProperties
implements JsonSerializable<ApplicationInsightsComponentAnalyticsItemProperties>

A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.

Constructor Summary

Constructor Description
ApplicationInsightsComponentAnalyticsItemProperties()

Creates an instance of ApplicationInsightsComponentAnalyticsItemProperties class.

Method Summary

Modifier and Type Method and Description
static ApplicationInsightsComponentAnalyticsItemProperties fromJson(JsonReader jsonReader)

Reads an instance of ApplicationInsightsComponentAnalyticsItemProperties from the JsonReader.

String functionAlias()

Get the functionAlias property: A function alias, used when the type of the item is Function.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationInsightsComponentAnalyticsItemProperties withFunctionAlias(String functionAlias)

Set the functionAlias property: A function alias, used when the type of the item is Function.

Methods inherited from java.lang.Object

Constructor Details

ApplicationInsightsComponentAnalyticsItemProperties

public ApplicationInsightsComponentAnalyticsItemProperties()

Creates an instance of ApplicationInsightsComponentAnalyticsItemProperties class.

Method Details

fromJson

public static ApplicationInsightsComponentAnalyticsItemProperties fromJson(JsonReader jsonReader)

Reads an instance of ApplicationInsightsComponentAnalyticsItemProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationInsightsComponentAnalyticsItemProperties 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 ApplicationInsightsComponentAnalyticsItemProperties.

functionAlias

public String functionAlias()

Get the functionAlias property: A function alias, used when the type of the item is Function.

Returns:

the functionAlias value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFunctionAlias

public ApplicationInsightsComponentAnalyticsItemProperties withFunctionAlias(String functionAlias)

Set the functionAlias property: A function alias, used when the type of the item is Function.

Parameters:

functionAlias - the functionAlias value to set.

Returns:

the ApplicationInsightsComponentAnalyticsItemProperties object itself.

Applies to