Class PipelineJobError
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.PipelineJobError
-
public final class PipelineJobError extends Object
Details about the error for a failed pipeline job.
-
-
Constructor Summary
Constructors Constructor Description PipelineJobError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcode()Get the code property: The error code.Stringmessage()Get the message property: The error message.voidvalidate()Validates the instance.PipelineJobErrorwithCode(String code)Set the code property: The error code.PipelineJobErrorwithMessage(String message)Set the message property: The error message.
-
-
-
Method Detail
-
code
public String code()
Get the code property: The error code.- Returns:
- the code value.
-
withCode
public PipelineJobError withCode(String code)
Set the code property: The error code.- Parameters:
code- the code value to set.- Returns:
- the PipelineJobError object itself.
-
message
public String message()
Get the message property: The error message.- Returns:
- the message value.
-
withMessage
public PipelineJobError withMessage(String message)
Set the message property: The error message.- Parameters:
message- the message value to set.- Returns:
- the PipelineJobError object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-