Share via


EventTypeInner Class

public final class EventTypeInner
extends ProxyResource

Event Type for a subject under a topic.

Constructor Summary

Constructor Description
EventTypeInner()

Creates an instance of EventTypeInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of the event type.

String displayName()

Get the displayName property: Display name of the event type.

static EventTypeInner fromJson(JsonReader jsonReader)

Reads an instance of EventTypeInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Boolean isInDefaultSet()

Get the isInDefaultSet property: IsInDefaultSet flag of the event type.

String name()

Get the name property: The name of the resource.

String schemaUrl()

Get the schemaUrl property: URL of the schema for this event type.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

EventTypeInner withDescription(String description)

Set the description property: Description of the event type.

EventTypeInner withDisplayName(String displayName)

Set the displayName property: Display name of the event type.

EventTypeInner withIsInDefaultSet(Boolean isInDefaultSet)

Set the isInDefaultSet property: IsInDefaultSet flag of the event type.

EventTypeInner withSchemaUrl(String schemaUrl)

Set the schemaUrl property: URL of the schema for this event type.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

EventTypeInner

public EventTypeInner()

Creates an instance of EventTypeInner class.

Method Details

description

public String description()

Get the description property: Description of the event type.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: Display name of the event type.

Returns:

the displayName value.

fromJson

public static EventTypeInner fromJson(JsonReader jsonReader)

Reads an instance of EventTypeInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

EventTypeInner.id()

Returns:

the id value.

isInDefaultSet

public Boolean isInDefaultSet()

Get the isInDefaultSet property: IsInDefaultSet flag of the event type.

Returns:

the isInDefaultSet value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

EventTypeInner.name()

Returns:

the name value.

schemaUrl

public String schemaUrl()

Get the schemaUrl property: URL of the schema for this event type.

Returns:

the schemaUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

EventTypeInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

EventTypeInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDescription

public EventTypeInner withDescription(String description)

Set the description property: Description of the event type.

Parameters:

description - the description value to set.

Returns:

the EventTypeInner object itself.

withDisplayName

public EventTypeInner withDisplayName(String displayName)

Set the displayName property: Display name of the event type.

Parameters:

displayName - the displayName value to set.

Returns:

the EventTypeInner object itself.

withIsInDefaultSet

public EventTypeInner withIsInDefaultSet(Boolean isInDefaultSet)

Set the isInDefaultSet property: IsInDefaultSet flag of the event type.

Parameters:

isInDefaultSet - the isInDefaultSet value to set.

Returns:

the EventTypeInner object itself.

withSchemaUrl

public EventTypeInner withSchemaUrl(String schemaUrl)

Set the schemaUrl property: URL of the schema for this event type.

Parameters:

schemaUrl - the schemaUrl value to set.

Returns:

the EventTypeInner object itself.

Applies to