다음을 통해 공유


ApmReference Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ApmReference

Implements

public final class ApmReference
implements JsonSerializable<ApmReference>

A reference to the APM.

Constructor Summary

Constructor Description
ApmReference()

Creates an instance of ApmReference class.

Method Summary

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

Reads an instance of ApmReference from the JsonReader.

String resourceId()

Get the resourceId property: Resource Id of the APM.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApmReference withResourceId(String resourceId)

Set the resourceId property: Resource Id of the APM.

Methods inherited from java.lang.Object

Constructor Details

ApmReference

public ApmReference()

Creates an instance of ApmReference class.

Method Details

fromJson

public static ApmReference fromJson(JsonReader jsonReader)

Reads an instance of ApmReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

resourceId

public String resourceId()

Get the resourceId property: Resource Id of the APM.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResourceId

public ApmReference withResourceId(String resourceId)

Set the resourceId property: Resource Id of the APM.

Parameters:

resourceId - the resourceId value to set.

Returns:

the ApmReference object itself.

Applies to