Class FailActivityTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.FailActivityTypeProperties
Fail activity properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of FailActivityTypeProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the errorCode property: The error code that categorizes the error type of the Fail activity.message()
Get the message property: The error message that surfaced in the Fail activity.void
validate()
Validates the instance.withErrorCode
(Object errorCode) Set the errorCode property: The error code that categorizes the error type of the Fail activity.withMessage
(Object message) Set the message property: The error message that surfaced in the Fail activity.
-
Constructor Details
-
FailActivityTypeProperties
public FailActivityTypeProperties()Creates an instance of FailActivityTypeProperties class.
-
-
Method Details
-
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
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
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
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.
-