Class SmsChannel
- java.lang.Object
-
- com.azure.resourcemanager.botservice.models.Channel
-
- com.azure.resourcemanager.botservice.models.SmsChannel
-
public final class SmsChannel extends Channel
Sms channel definition.
-
-
Constructor Summary
Constructors Constructor Description SmsChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SmsChannelProperties
properties()
Get the properties property: The set of properties specific to Sms channel resource.void
validate()
Validates the instance.SmsChannel
withEtag(String etag)
Set the etag property: Entity Tag of the resource.SmsChannel
withLocation(String location)
Set the location property: Specifies the location of the resource.SmsChannel
withProperties(SmsChannelProperties properties)
Set the properties property: The set of properties specific to Sms channel resource.-
Methods inherited from class com.azure.resourcemanager.botservice.models.Channel
etag, location, provisioningState
-
-
-
-
Method Detail
-
properties
public SmsChannelProperties properties()
Get the properties property: The set of properties specific to Sms channel resource.- Returns:
- the properties value.
-
withProperties
public SmsChannel withProperties(SmsChannelProperties properties)
Set the properties property: The set of properties specific to Sms channel resource.- Parameters:
properties
- the properties value to set.- Returns:
- the SmsChannel object itself.
-
withEtag
public SmsChannel withEtag(String etag)
Set the etag property: Entity Tag of the resource.
-
withLocation
public SmsChannel withLocation(String location)
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.
-
-