LinkedNotificationHubInner Class

  • java.lang.Object
    • com.azure.resourcemanager.communication.fluent.models.LinkedNotificationHubInner

Implements

public final class LinkedNotificationHubInner
implements JsonSerializable<LinkedNotificationHubInner>

A notification hub that has been linked to the communication service.

Constructor Summary

Constructor Description
LinkedNotificationHubInner()

Creates an instance of LinkedNotificationHubInner class.

Method Summary

Modifier and Type Method and Description
static LinkedNotificationHubInner fromJson(JsonReader jsonReader)

Reads an instance of LinkedNotificationHubInner from the JsonReader.

String resourceId()

Get the resourceId property: The resource ID of the notification hub.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LinkedNotificationHubInner withResourceId(String resourceId)

Set the resourceId property: The resource ID of the notification hub.

Methods inherited from java.lang.Object

Constructor Details

LinkedNotificationHubInner

public LinkedNotificationHubInner()

Creates an instance of LinkedNotificationHubInner class.

Method Details

fromJson

public static LinkedNotificationHubInner fromJson(JsonReader jsonReader)

Reads an instance of LinkedNotificationHubInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LinkedNotificationHubInner 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 LinkedNotificationHubInner.

resourceId

public String resourceId()

Get the resourceId property: The resource ID of the notification hub.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResourceId

public LinkedNotificationHubInner withResourceId(String resourceId)

Set the resourceId property: The resource ID of the notification hub.

Parameters:

resourceId - the resourceId value to set.

Returns:

the LinkedNotificationHubInner object itself.

Applies to