OutputFieldMappingEntry Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. OutputFieldMappingEntry
- com.
Implements
public final class OutputFieldMappingEntry
implements JsonSerializable<OutputFieldMappingEntry>
Output field mapping for a skill.
Constructor Summary
Constructor | Description |
---|---|
OutputFieldMappingEntry(String name) |
Creates an instance of Output |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Output |
fromJson(JsonReader jsonReader)
Reads an instance of Output |
String |
getName()
Get the name property: The name of the output defined by the skill. |
String |
getTargetName()
Get the target |
Output |
setTargetName(String targetName)
Set the target |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
OutputFieldMappingEntry
public OutputFieldMappingEntry(String name)
Creates an instance of OutputFieldMappingEntry class.
Parameters:
Method Details
fromJson
public static OutputFieldMappingEntry fromJson(JsonReader jsonReader)
Reads an instance of OutputFieldMappingEntry from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name of the output defined by the skill.
Returns:
getTargetName
public String getTargetName()
Get the targetName property: The target name of the output. It is optional and default to name.
Returns:
setTargetName
public OutputFieldMappingEntry setTargetName(String targetName)
Set the targetName property: The target name of the output. It is optional and default to name.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java