RequestSource Class

public final class RequestSource
extends ExpandableStringEnum<RequestSource>

Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.

Field Summary

Modifier and Type Field and Description
static final RequestSource REST

Static value rest for RequestSource.

Constructor Summary

Constructor Description
RequestSource()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RequestSource value.

Method Summary

Modifier and Type Method and Description
static RequestSource fromString(String name)

Creates or finds a RequestSource from its string representation.

static Collection<RequestSource> values()

Gets known RequestSource values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

REST

public static final RequestSource REST

Static value rest for RequestSource.

Constructor Details

RequestSource

@Deprecated
public RequestSource()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RequestSource value.

Method Details

fromString

public static RequestSource fromString(String name)

Creates or finds a RequestSource from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RequestSource.

values

public static Collection values()

Gets known RequestSource values.

Returns:

known RequestSource values.

Applies to