Class ConnectorMappingErrorManagement
java.lang.Object
com.azure.resourcemanager.customerinsights.models.ConnectorMappingErrorManagement
The error management.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ConnectorMappingErrorManagement class. -
Method Summary
Modifier and TypeMethodDescriptionGet the errorLimit property: The error limit allowed while importing data.Get the errorManagementType property: The type of error management to use for the mapping.void
validate()
Validates the instance.withErrorLimit
(Integer errorLimit) Set the errorLimit property: The error limit allowed while importing data.withErrorManagementType
(ErrorManagementTypes errorManagementType) Set the errorManagementType property: The type of error management to use for the mapping.
-
Constructor Details
-
ConnectorMappingErrorManagement
public ConnectorMappingErrorManagement()Creates an instance of ConnectorMappingErrorManagement class.
-
-
Method Details
-
errorManagementType
Get the errorManagementType property: The type of error management to use for the mapping.- Returns:
- the errorManagementType value.
-
withErrorManagementType
public ConnectorMappingErrorManagement withErrorManagementType(ErrorManagementTypes errorManagementType) Set the errorManagementType property: The type of error management to use for the mapping.- Parameters:
errorManagementType
- the errorManagementType value to set.- Returns:
- the ConnectorMappingErrorManagement object itself.
-
errorLimit
Get the errorLimit property: The error limit allowed while importing data.- Returns:
- the errorLimit value.
-
withErrorLimit
Set the errorLimit property: The error limit allowed while importing data.- Parameters:
errorLimit
- the errorLimit value to set.- Returns:
- the ConnectorMappingErrorManagement object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-