BenchmarkReference Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.BenchmarkReference

Implements

public final class BenchmarkReference
implements JsonSerializable<BenchmarkReference>

The benchmark references.

Method Summary

Modifier and Type Method and Description
String benchmark()

Get the benchmark property: The benchmark name.

static BenchmarkReference fromJson(JsonReader jsonReader)

Reads an instance of BenchmarkReference from the JsonReader.

String reference()

Get the reference property: The benchmark reference.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

benchmark

public String benchmark()

Get the benchmark property: The benchmark name.

Returns:

the benchmark value.

fromJson

public static BenchmarkReference fromJson(JsonReader jsonReader)

Reads an instance of BenchmarkReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

reference

public String reference()

Get the reference property: The benchmark reference.

Returns:

the reference value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to