ArmIdWrapper Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.ArmIdWrapper

Implements

public final class ArmIdWrapper
implements JsonSerializable<ArmIdWrapper>

A wrapper for an ARM resource id.

Constructor Summary

Constructor Description
ArmIdWrapper()

Creates an instance of ArmIdWrapper class.

Method Summary

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

Reads an instance of ArmIdWrapper from the JsonReader.

String id()

Get the id property: The id property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ArmIdWrapper

public ArmIdWrapper()

Creates an instance of ArmIdWrapper class.

Method Details

fromJson

public static ArmIdWrapper fromJson(JsonReader jsonReader)

Reads an instance of ArmIdWrapper from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The id property.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to