BenchmarkReference Class

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

public final class BenchmarkReference

The benchmark references.

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: The benchmark name.

String reference()

Get the reference property: The benchmark reference.

void validate()

Validates the instance.

BenchmarkReference withBenchmark(String benchmark)

Set the benchmark property: The benchmark name.

BenchmarkReference withReference(String reference)

Set the reference property: The benchmark reference.

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: The benchmark name.

Returns:

the benchmark value.

reference

public String reference()

Get the reference property: The benchmark reference.

Returns:

the reference value.

validate

public void validate()

Validates the instance.

withBenchmark

public BenchmarkReference withBenchmark(String benchmark)

Set the benchmark property: The benchmark name.

Parameters:

benchmark - the benchmark value to set.

Returns:

the BenchmarkReference object itself.

withReference

public BenchmarkReference withReference(String reference)

Set the reference property: The benchmark reference.

Parameters:

reference - the reference value to set.

Returns:

the BenchmarkReference object itself.

Applies to