Class FieldMapping
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.FieldMapping
-
public final class FieldMapping extends Object
A single field mapping of the mapped entity.
-
-
Constructor Summary
Constructors Constructor Description FieldMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
columnName()
Get the columnName property: the column name to be mapped to the identifier.String
identifier()
Get the identifier property: the V3 identifier of the entity.void
validate()
Validates the instance.FieldMapping
withColumnName(String columnName)
Set the columnName property: the column name to be mapped to the identifier.FieldMapping
withIdentifier(String identifier)
Set the identifier property: the V3 identifier of the entity.
-
-
-
Method Detail
-
identifier
public String identifier()
Get the identifier property: the V3 identifier of the entity.- Returns:
- the identifier value.
-
withIdentifier
public FieldMapping withIdentifier(String identifier)
Set the identifier property: the V3 identifier of the entity.- Parameters:
identifier
- the identifier value to set.- Returns:
- the FieldMapping object itself.
-
columnName
public String columnName()
Get the columnName property: the column name to be mapped to the identifier.- Returns:
- the columnName value.
-
withColumnName
public FieldMapping withColumnName(String columnName)
Set the columnName property: the column name to be mapped to the identifier.- Parameters:
columnName
- the columnName value to set.- Returns:
- the FieldMapping object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-