Class DataConnectionValidationResult
- java.lang.Object
-
- com.azure.resourcemanager.kusto.models.DataConnectionValidationResult
-
public final class DataConnectionValidationResult extends Object
The result returned from a data connection validation request.
-
-
Constructor Summary
Constructors Constructor Description DataConnectionValidationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
errorMessage()
Get the errorMessage property: A message which indicates a problem in data connection validation.void
validate()
Validates the instance.DataConnectionValidationResult
withErrorMessage(String errorMessage)
Set the errorMessage property: A message which indicates a problem in data connection validation.
-
-
-
Method Detail
-
errorMessage
public String errorMessage()
Get the errorMessage property: A message which indicates a problem in data connection validation.- Returns:
- the errorMessage value.
-
withErrorMessage
public DataConnectionValidationResult withErrorMessage(String errorMessage)
Set the errorMessage property: A message which indicates a problem in data connection validation.- Parameters:
errorMessage
- the errorMessage value to set.- Returns:
- the DataConnectionValidationResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-