BenchmarkReference Class

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

Implements

public final class BenchmarkReference
implements JsonSerializable<BenchmarkReference>

SQL Vulnerability Assessment benchmark reference.

Constructor Summary

Constructor Description
BenchmarkReference()

Creates an instance of BenchmarkReference class.

Method Summary

Modifier and Type Method and Description
String benchmark()

Get the benchmark property: SQL Vulnerability Assessment benchmark name.

static BenchmarkReference fromJson(JsonReader jsonReader)

Reads an instance of BenchmarkReference from the JsonReader.

String reference()

Get the reference property: SQL Vulnerability Assessment benchmark reference.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

BenchmarkReference

public BenchmarkReference()

Creates an instance of BenchmarkReference class.

Method Details

benchmark

public String benchmark()

Get the benchmark property: SQL Vulnerability Assessment 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: SQL Vulnerability Assessment benchmark reference.

Returns:

the reference value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to