JsonInputSchemaMapping Class
- java.
lang. Object - com.
microsoft. azure. management. eventgrid. v2020_04_01_preview. InputSchemaMapping - com.
microsoft. azure. management. eventgrid. v2020_04_01_preview. JsonInputSchemaMapping
- com.
- com.
public class JsonInputSchemaMapping
extends InputSchemaMapping
This enables publishing to Event Grid using a custom input schema. This can be used to map properties from a custom input JSON schema to the Event Grid event schema.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| JsonInputSchemaMapping() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Json |
dataVersion()
Get the mapping information for the Data |
|
Json |
eventTime()
Get the mapping information for the Event |
|
Json |
eventType()
Get the mapping information for the Event |
|
Json |
id()
Get the mapping information for the Id property of the Event Grid Event. |
|
Json |
subject()
Get the mapping information for the Subject property of the Event Grid Event. |
|
Json |
topic()
Get the mapping information for the Topic property of the Event Grid Event. |
|
Json |
withDataVersion(JsonFieldWithDefault dataVersion)
Set the mapping information for the Data |
|
Json |
withEventTime(JsonField eventTime)
Set the mapping information for the Event |
|
Json |
withEventType(JsonFieldWithDefault eventType)
Set the mapping information for the Event |
|
Json |
withId(JsonField id)
Set the mapping information for the Id property of the Event Grid Event. |
|
Json |
withSubject(JsonFieldWithDefault subject)
Set the mapping information for the Subject property of the Event Grid Event. |
|
Json |
withTopic(JsonField topic)
Set the mapping information for the Topic property of the Event Grid Event. |
Methods inherited from java.lang.Object
Constructor Details
JsonInputSchemaMapping
public JsonInputSchemaMapping()
Method Details
dataVersion
public JsonFieldWithDefault dataVersion()
Get the mapping information for the DataVersion property of the Event Grid Event.
Returns:
eventTime
public JsonField eventTime()
Get the mapping information for the EventTime property of the Event Grid Event.
Returns:
eventType
public JsonFieldWithDefault eventType()
Get the mapping information for the EventType property of the Event Grid Event.
Returns:
id
public JsonField id()
Get the mapping information for the Id property of the Event Grid Event.
Returns:
subject
public JsonFieldWithDefault subject()
Get the mapping information for the Subject property of the Event Grid Event.
Returns:
topic
public JsonField topic()
Get the mapping information for the Topic property of the Event Grid Event.
Returns:
withDataVersion
public JsonInputSchemaMapping withDataVersion(JsonFieldWithDefault dataVersion)
Set the mapping information for the DataVersion property of the Event Grid Event.
Parameters:
Returns:
withEventTime
public JsonInputSchemaMapping withEventTime(JsonField eventTime)
Set the mapping information for the EventTime property of the Event Grid Event.
Parameters:
Returns:
withEventType
public JsonInputSchemaMapping withEventType(JsonFieldWithDefault eventType)
Set the mapping information for the EventType property of the Event Grid Event.
Parameters:
Returns:
withId
public JsonInputSchemaMapping withId(JsonField id)
Set the mapping information for the Id property of the Event Grid Event.
Parameters:
Returns:
withSubject
public JsonInputSchemaMapping withSubject(JsonFieldWithDefault subject)
Set the mapping information for the Subject property of the Event Grid Event.
Parameters:
Returns:
withTopic
public JsonInputSchemaMapping withTopic(JsonField topic)
Set the mapping information for the Topic property of the Event Grid Event.
Parameters:
Returns: