Udostępnij za pośrednictwem


InlineEventProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.InlineEventProperties

Implements

public final class InlineEventProperties
implements JsonSerializable<InlineEventProperties>

Additional information about every inline event.

Constructor Summary

Constructor Description
InlineEventProperties()

Creates an instance of InlineEventProperties class.

Method Summary

Modifier and Type Method and Description
String dataSchemaUrl()

Get the dataSchemaUrl property: The dataSchemaUrl for the inline event.

String description()

Get the description property: The description for the inline event.

String displayName()

Get the displayName property: The displayName for the inline event.

String documentationUrl()

Get the documentationUrl property: The documentationUrl for the inline event.

static InlineEventProperties fromJson(JsonReader jsonReader)

Reads an instance of InlineEventProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

InlineEventProperties withDataSchemaUrl(String dataSchemaUrl)

Set the dataSchemaUrl property: The dataSchemaUrl for the inline event.

InlineEventProperties withDescription(String description)

Set the description property: The description for the inline event.

InlineEventProperties withDisplayName(String displayName)

Set the displayName property: The displayName for the inline event.

InlineEventProperties withDocumentationUrl(String documentationUrl)

Set the documentationUrl property: The documentationUrl for the inline event.

Methods inherited from java.lang.Object

Constructor Details

InlineEventProperties

public InlineEventProperties()

Creates an instance of InlineEventProperties class.

Method Details

dataSchemaUrl

public String dataSchemaUrl()

Get the dataSchemaUrl property: The dataSchemaUrl for the inline event.

Returns:

the dataSchemaUrl value.

description

public String description()

Get the description property: The description for the inline event.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: The displayName for the inline event.

Returns:

the displayName value.

documentationUrl

public String documentationUrl()

Get the documentationUrl property: The documentationUrl for the inline event.

Returns:

the documentationUrl value.

fromJson

public static InlineEventProperties fromJson(JsonReader jsonReader)

Reads an instance of InlineEventProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of InlineEventProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the InlineEventProperties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDataSchemaUrl

public InlineEventProperties withDataSchemaUrl(String dataSchemaUrl)

Set the dataSchemaUrl property: The dataSchemaUrl for the inline event.

Parameters:

dataSchemaUrl - the dataSchemaUrl value to set.

Returns:

the InlineEventProperties object itself.

withDescription

public InlineEventProperties withDescription(String description)

Set the description property: The description for the inline event.

Parameters:

description - the description value to set.

Returns:

the InlineEventProperties object itself.

withDisplayName

public InlineEventProperties withDisplayName(String displayName)

Set the displayName property: The displayName for the inline event.

Parameters:

displayName - the displayName value to set.

Returns:

the InlineEventProperties object itself.

withDocumentationUrl

public InlineEventProperties withDocumentationUrl(String documentationUrl)

Set the documentationUrl property: The documentationUrl for the inline event.

Parameters:

documentationUrl - the documentationUrl value to set.

Returns:

the InlineEventProperties object itself.

Applies to