Class FailActivityTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.FailActivityTypeProperties
-
public final class FailActivityTypeProperties extends Object
Fail activity properties.
-
-
Constructor Summary
Constructors Constructor Description FailActivityTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjecterrorCode()Get the errorCode property: The error code that categorizes the error type of the Fail activity.Objectmessage()Get the message property: The error message that surfaced in the Fail activity.voidvalidate()Validates the instance.FailActivityTypePropertieswithErrorCode(Object errorCode)Set the errorCode property: The error code that categorizes the error type of the Fail activity.FailActivityTypePropertieswithMessage(Object message)Set the message property: The error message that surfaced in the Fail activity.
-
-
-
Method Detail
-
message
public Object message()
Get the message property: The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).- Returns:
- the message value.
-
withMessage
public FailActivityTypeProperties withMessage(Object message)
Set the message property: The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).- Parameters:
message- the message value to set.- Returns:
- the FailActivityTypeProperties object itself.
-
errorCode
public Object errorCode()
Get the errorCode property: The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).- Returns:
- the errorCode value.
-
withErrorCode
public FailActivityTypeProperties withErrorCode(Object errorCode)
Set the errorCode property: The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).- Parameters:
errorCode- the errorCode value to set.- Returns:
- the FailActivityTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-