Class MigrationErrorType
java.lang.Object
com.azure.resourcemanager.cdn.models.MigrationErrorType
Error response indicates CDN service is not able to process the incoming request. The reason is provided in the
error message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()Get the code property: Error code.Get the errorMessage property: Error message indicating why the operation failed.Get the nextSteps property: Describes what needs to be done to fix the problem.Get the resourceName property: Resource which has the problem.voidvalidate()Validates the instance.
-
Constructor Details
-
MigrationErrorType
public MigrationErrorType()Creates an instance of MigrationErrorType class.
-
-
Method Details
-
code
Get the code property: Error code.- Returns:
- the code value.
-
resourceName
Get the resourceName property: Resource which has the problem.- Returns:
- the resourceName value.
-
errorMessage
Get the errorMessage property: Error message indicating why the operation failed.- Returns:
- the errorMessage value.
-
nextSteps
Get the nextSteps property: Describes what needs to be done to fix the problem.- Returns:
- the nextSteps value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-