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