Class SapVirtualInstanceError
java.lang.Object
com.azure.resourcemanager.workloads.models.SapVirtualInstanceError
An error response from the Virtual Instance for SAP Workload service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: The Virtual Instance for SAP error body.void
validate()
Validates the instance.withProperties
(ErrorDefinition properties) Set the properties property: The Virtual Instance for SAP error body.
-
Constructor Details
-
SapVirtualInstanceError
public SapVirtualInstanceError()
-
-
Method Details
-
properties
Get the properties property: The Virtual Instance for SAP error body.- Returns:
- the properties value.
-
withProperties
Set the properties property: The Virtual Instance for SAP error body.- Parameters:
properties
- the properties value to set.- Returns:
- the SapVirtualInstanceError object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-