VnetValidationFailureDetailsInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. VnetValidationFailureDetailsInner
- com.
- com.
- com.
public final class VnetValidationFailureDetailsInner
extends ProxyOnlyResource
A class that describes the reason for a validation failure.
Constructor Summary
Constructor | Description |
---|---|
VnetValidationFailureDetailsInner() |
Creates an instance of Vnet |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
failed()
Get the failed property: A flag describing whether or not validation failed. |
List<Vnet |
failedTests()
Get the failed |
static
Vnet |
fromJson(JsonReader jsonReader)
Reads an instance of Vnet |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
message()
Get the message property: Text describing the validation outcome. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
List<Vnet |
warnings()
Get the warnings property: A list of warnings generated during validation. |
Vnet |
withFailed(Boolean failed)
Set the failed property: A flag describing whether or not validation failed. |
Vnet |
withFailedTests(List<VnetValidationTestFailure> failedTests)
Set the failed |
Vnet |
withKind(String kind)
Set the kind property: Kind of resource. |
Vnet |
withMessage(String message)
Set the message property: Text describing the validation outcome. |
Vnet |
withWarnings(List<VnetValidationTestFailure> warnings)
Set the warnings property: A list of warnings generated during validation. |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
VnetValidationFailureDetailsInner
public VnetValidationFailureDetailsInner()
Creates an instance of VnetValidationFailureDetailsInner class.
Method Details
failed
public Boolean failed()
Get the failed property: A flag describing whether or not validation failed.
Returns:
failedTests
public List
Get the failedTests property: A list of tests that failed in the validation.
Returns:
fromJson
public static VnetValidationFailureDetailsInner fromJson(JsonReader jsonReader)
Reads an instance of VnetValidationFailureDetailsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VnetValidationFailureDetailsInner.id()Returns:
message
public String message()
Get the message property: Text describing the validation outcome.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VnetValidationFailureDetailsInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VnetValidationFailureDetailsInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VnetValidationFailureDetailsInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
VnetValidationFailureDetailsInner.validate()warnings
public List
Get the warnings property: A list of warnings generated during validation.
Returns:
withFailed
public VnetValidationFailureDetailsInner withFailed(Boolean failed)
Set the failed property: A flag describing whether or not validation failed.
Parameters:
Returns:
withFailedTests
public VnetValidationFailureDetailsInner withFailedTests(List
Set the failedTests property: A list of tests that failed in the validation.
Parameters:
Returns:
withKind
public VnetValidationFailureDetailsInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
VnetValidationFailureDetailsInner.withKind(String kind)Parameters:
withMessage
public VnetValidationFailureDetailsInner withMessage(String message)
Set the message property: Text describing the validation outcome.
Parameters:
Returns:
withWarnings
public VnetValidationFailureDetailsInner withWarnings(List
Set the warnings property: A list of warnings generated during validation.
Parameters:
Returns:
Applies to
Azure SDK for Java