SmsChannel Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. Channel - com.
azure. resourcemanager. botservice. models. SmsChannel
- com.
- com.
public final class SmsChannel
extends Channel
Sms channel definition.
Constructor Summary
| Constructor | Description |
|---|---|
| SmsChannel() |
Creates an instance of Sms |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
channelName()
Get the channel |
|
static
Sms |
fromJson(JsonReader jsonReader)
Reads an instance of Sms |
|
Sms |
properties()
Get the properties property: The set of properties specific to Sms channel resource. |
| String |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sms |
withEtag(String etag)
Set the etag property: Entity Tag of the resource. |
|
Sms |
withLocation(String location)
Set the location property: Specifies the location of the resource. |
|
Sms |
withProperties(SmsChannelProperties properties)
Set the properties property: The set of properties specific to Sms channel resource. |
Methods inherited from Channel
Methods inherited from java.lang.Object
Constructor Details
SmsChannel
public SmsChannel()
Creates an instance of SmsChannel class.
Method Details
channelName
public String channelName()
Get the channelName property: The channel name.
Overrides:
SmsChannel.channelName()Returns:
fromJson
public static SmsChannel fromJson(JsonReader jsonReader)
Reads an instance of SmsChannel from the JsonReader.
Parameters:
Returns:
Throws:
properties
public SmsChannelProperties properties()
Get the properties property: The set of properties specific to Sms channel resource.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Overrides:
SmsChannel.provisioningState()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SmsChannel.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
SmsChannel.validate()withEtag
public SmsChannel withEtag(String etag)
Set the etag property: Entity Tag of the resource.
Overrides:
SmsChannel.withEtag(String etag)Parameters:
withLocation
public SmsChannel withLocation(String location)
Set the location property: Specifies the location of the resource.
Overrides:
SmsChannel.withLocation(String location)Parameters:
withProperties
public SmsChannel withProperties(SmsChannelProperties properties)
Set the properties property: The set of properties specific to Sms channel resource.
Parameters:
Returns: