Class BenchmarkReference
java.lang.Object
com.azure.resourcemanager.security.models.BenchmarkReference
The benchmark references.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the benchmark property: The benchmark name.Get the reference property: The benchmark reference.void
validate()
Validates the instance.withBenchmark
(String benchmark) Set the benchmark property: The benchmark name.withReference
(String reference) Set the reference property: The benchmark reference.
-
Constructor Details
-
BenchmarkReference
public BenchmarkReference()
-
-
Method Details
-
benchmark
Get the benchmark property: The benchmark name.- Returns:
- the benchmark value.
-
withBenchmark
Set the benchmark property: The benchmark name.- Parameters:
benchmark
- the benchmark value to set.- Returns:
- the BenchmarkReference object itself.
-
reference
Get the reference property: The benchmark reference.- Returns:
- the reference value.
-
withReference
Set the reference property: The benchmark reference.- Parameters:
reference
- the reference value to set.- Returns:
- the BenchmarkReference object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-