InputSchemaMapping Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. InputSchemaMapping
- com.
Implements
public class InputSchemaMapping
implements JsonSerializable<InputSchemaMapping>
By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'.
Constructor Summary
| Constructor | Description |
|---|---|
| InputSchemaMapping() |
Creates an instance of Input |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Input |
fromJson(JsonReader jsonReader)
Reads an instance of Input |
|
Input |
inputSchemaMappingType()
Get the input |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
InputSchemaMapping
public InputSchemaMapping()
Creates an instance of InputSchemaMapping class.
Method Details
fromJson
public static InputSchemaMapping fromJson(JsonReader jsonReader)
Reads an instance of InputSchemaMapping from the JsonReader.
Parameters:
Returns:
Throws:
inputSchemaMappingType
public InputSchemaMappingType inputSchemaMappingType()
Get the inputSchemaMappingType property: Type of the custom mapping.
Returns:
toJson
validate
public void validate()
Validates the instance.