Class LinkNotificationHubParameters
- java.lang.Object
-
- com.azure.resourcemanager.communication.models.LinkNotificationHubParameters
-
public final class LinkNotificationHubParameters extends Object
Description of an Azure Notification Hub to link to the communication service.
-
-
Constructor Summary
Constructors Constructor Description LinkNotificationHubParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
connectionString()
Get the connectionString property: Connection string for the notification hub.String
resourceId()
Get the resourceId property: The resource ID of the notification hub.void
validate()
Validates the instance.LinkNotificationHubParameters
withConnectionString(String connectionString)
Set the connectionString property: Connection string for the notification hub.LinkNotificationHubParameters
withResourceId(String resourceId)
Set the resourceId property: The resource ID of the notification hub.
-
-
-
Method Detail
-
resourceId
public String resourceId()
Get the resourceId property: The resource ID of the notification hub.- Returns:
- the resourceId value.
-
withResourceId
public LinkNotificationHubParameters withResourceId(String resourceId)
Set the resourceId property: The resource ID of the notification hub.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the LinkNotificationHubParameters object itself.
-
connectionString
public String connectionString()
Get the connectionString property: Connection string for the notification hub.- Returns:
- the connectionString value.
-
withConnectionString
public LinkNotificationHubParameters withConnectionString(String connectionString)
Set the connectionString property: Connection string for the notification hub.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the LinkNotificationHubParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-