Class ConnectorMappingProperties
java.lang.Object
com.azure.resourcemanager.customerinsights.models.ConnectorMappingProperties
The connector mapping properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ConnectorMappingProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the availability property: The availability of mapping property.Get the completeOperation property: The operation after import is done.Get the errorManagement property: The error management setting for the mapping.Get the fileFilter property: The file filter for the mapping.Get the folderPath property: The folder path for the mapping.format()
Get the format property: The format of mapping property.Get the hasHeader property: If the file contains a header or not.Get the structure property: Ingestion mapping information at property level.void
validate()
Validates the instance.withAvailability
(ConnectorMappingAvailability availability) Set the availability property: The availability of mapping property.withCompleteOperation
(ConnectorMappingCompleteOperation completeOperation) Set the completeOperation property: The operation after import is done.withErrorManagement
(ConnectorMappingErrorManagement errorManagement) Set the errorManagement property: The error management setting for the mapping.withFileFilter
(String fileFilter) Set the fileFilter property: The file filter for the mapping.withFolderPath
(String folderPath) Set the folderPath property: The folder path for the mapping.withFormat
(ConnectorMappingFormat format) Set the format property: The format of mapping property.withHasHeader
(Boolean hasHeader) Set the hasHeader property: If the file contains a header or not.withStructure
(List<ConnectorMappingStructure> structure) Set the structure property: Ingestion mapping information at property level.
-
Constructor Details
-
ConnectorMappingProperties
public ConnectorMappingProperties()Creates an instance of ConnectorMappingProperties class.
-
-
Method Details
-
folderPath
Get the folderPath property: The folder path for the mapping.- Returns:
- the folderPath value.
-
withFolderPath
Set the folderPath property: The folder path for the mapping.- Parameters:
folderPath
- the folderPath value to set.- Returns:
- the ConnectorMappingProperties object itself.
-
fileFilter
Get the fileFilter property: The file filter for the mapping.- Returns:
- the fileFilter value.
-
withFileFilter
Set the fileFilter property: The file filter for the mapping.- Parameters:
fileFilter
- the fileFilter value to set.- Returns:
- the ConnectorMappingProperties object itself.
-
hasHeader
Get the hasHeader property: If the file contains a header or not.- Returns:
- the hasHeader value.
-
withHasHeader
Set the hasHeader property: If the file contains a header or not.- Parameters:
hasHeader
- the hasHeader value to set.- Returns:
- the ConnectorMappingProperties object itself.
-
errorManagement
Get the errorManagement property: The error management setting for the mapping.- Returns:
- the errorManagement value.
-
withErrorManagement
public ConnectorMappingProperties withErrorManagement(ConnectorMappingErrorManagement errorManagement) Set the errorManagement property: The error management setting for the mapping.- Parameters:
errorManagement
- the errorManagement value to set.- Returns:
- the ConnectorMappingProperties object itself.
-
format
Get the format property: The format of mapping property.- Returns:
- the format value.
-
withFormat
Set the format property: The format of mapping property.- Parameters:
format
- the format value to set.- Returns:
- the ConnectorMappingProperties object itself.
-
availability
Get the availability property: The availability of mapping property.- Returns:
- the availability value.
-
withAvailability
Set the availability property: The availability of mapping property.- Parameters:
availability
- the availability value to set.- Returns:
- the ConnectorMappingProperties object itself.
-
structure
Get the structure property: Ingestion mapping information at property level.- Returns:
- the structure value.
-
withStructure
Set the structure property: Ingestion mapping information at property level.- Parameters:
structure
- the structure value to set.- Returns:
- the ConnectorMappingProperties object itself.
-
completeOperation
Get the completeOperation property: The operation after import is done.- Returns:
- the completeOperation value.
-
withCompleteOperation
public ConnectorMappingProperties withCompleteOperation(ConnectorMappingCompleteOperation completeOperation) Set the completeOperation property: The operation after import is done.- Parameters:
completeOperation
- the completeOperation value to set.- Returns:
- the ConnectorMappingProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-