Specification Class

  • java.lang.Object
    • com.azure.resourcemanager.edgeorder.models.Specification

Implements

public final class Specification
implements JsonSerializable<Specification>

Specifications of the configurations.

Constructor Summary

Constructor Description
Specification()

Creates an instance of Specification class.

Method Summary

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

Reads an instance of Specification from the JsonReader.

String name()

Get the name property: Name of the specification.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: Value of the specification.

Methods inherited from java.lang.Object

Constructor Details

Specification

public Specification()

Creates an instance of Specification class.

Method Details

fromJson

public static Specification fromJson(JsonReader jsonReader)

Reads an instance of Specification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the specification.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Value of the specification.

Returns:

the value value.

Applies to