Class VnetValidationTestFailureProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.VnetValidationTestFailureProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VnetValidationTestFailureProperties>
public final class VnetValidationTestFailureProperties
extends Object
implements com.azure.json.JsonSerializable<VnetValidationTestFailureProperties>
VnetValidationTestFailure resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VnetValidationTestFailureProperties class. -
Method Summary
Modifier and TypeMethodDescriptiondetails()
Get the details property: The details of what caused the failure, e.g. the blocking rule name, etc.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of VnetValidationTestFailureProperties from the JsonReader.testName()
Get the testName property: The name of the test that failed.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDetails
(String details) Set the details property: The details of what caused the failure, e.g. the blocking rule name, etc.withTestName
(String testName) Set the testName property: The name of the test that failed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VnetValidationTestFailureProperties
public VnetValidationTestFailureProperties()Creates an instance of VnetValidationTestFailureProperties class.
-
-
Method Details
-
testName
Get the testName property: The name of the test that failed.- Returns:
- the testName value.
-
withTestName
Set the testName property: The name of the test that failed.- Parameters:
testName
- the testName value to set.- Returns:
- the VnetValidationTestFailureProperties object itself.
-
details
Get the details property: The details of what caused the failure, e.g. the blocking rule name, etc.- Returns:
- the details value.
-
withDetails
Set the details property: The details of what caused the failure, e.g. the blocking rule name, etc.- Parameters:
details
- the details value to set.- Returns:
- the VnetValidationTestFailureProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<VnetValidationTestFailureProperties>
- Throws:
IOException
-
fromJson
public static VnetValidationTestFailureProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VnetValidationTestFailureProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of VnetValidationTestFailureProperties 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 VnetValidationTestFailureProperties.
-