Class TelegramChannel
java.lang.Object
com.azure.resourcemanager.botservice.models.Channel
com.azure.resourcemanager.botservice.models.TelegramChannel
Telegram channel definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: The set of properties specific to Telegram channel resource.void
validate()
Validates the instance.Set the etag property: Entity Tag of the resource.withLocation
(String location) Set the location property: Specifies the location of the resource.withProperties
(TelegramChannelProperties properties) Set the properties property: The set of properties specific to Telegram channel resource.Methods inherited from class com.azure.resourcemanager.botservice.models.Channel
etag, location, provisioningState
-
Constructor Details
-
TelegramChannel
public TelegramChannel()
-
-
Method Details
-
properties
Get the properties property: The set of properties specific to Telegram channel resource.- Returns:
- the properties value.
-
withProperties
Set the properties property: The set of properties specific to Telegram channel resource.- Parameters:
properties
- the properties value to set.- Returns:
- the TelegramChannel object itself.
-
withEtag
Set the etag property: Entity Tag of the resource. -
withLocation
Set the location property: Specifies the location of the resource.- Overrides:
withLocation
in classChannel
- Parameters:
location
- the location value to set.- Returns:
- the Channel object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classChannel
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-