BotChannelInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. botservice. fluent. models. BotChannelInner
- com.
- com.
- com.
public class BotChannelInner
extends Resource
Bot channel resource definition.
Constructor Summary
| Constructor | Description |
|---|---|
| BotChannelInner() |
Creates an instance of Bot |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: Entity Tag. |
|
static
Bot |
fromJson(JsonReader jsonReader)
Reads an instance of Bot |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Kind |
kind()
Get the kind property: Required. |
| String |
name()
Get the name property: The name of the resource. |
| Channel |
properties()
Get the properties property: The set of properties specific to bot channel resource. |
| Sku |
sku()
Get the sku property: Gets or sets the SKU of the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Bot |
withEtag(String etag)
Set the etag property: Entity Tag. |
|
Bot |
withKind(Kind kind)
Set the kind property: Required. |
|
Bot |
withLocation(String location) |
|
Bot |
withProperties(Channel properties)
Set the properties property: The set of properties specific to bot channel resource. |
|
Bot |
withSku(Sku sku)
Set the sku property: Gets or sets the SKU of the resource. |
|
Bot |
withTags(Map<String,String> tags) |
| List<String> |
zones()
Get the zones property: Entity zones. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
BotChannelInner
public BotChannelInner()
Creates an instance of BotChannelInner class.
Method Details
etag
public String etag()
Get the etag property: Entity Tag.
Returns:
fromJson
public static BotChannelInner fromJson(JsonReader jsonReader)
Reads an instance of BotChannelInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
BotChannelInner.id()Returns:
kind
public Kind kind()
Get the kind property: Required. Gets or sets the Kind of the resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
BotChannelInner.name()Returns:
properties
public Channel properties()
Get the properties property: The set of properties specific to bot channel resource.
Returns:
sku
public Sku sku()
Get the sku property: Gets or sets the SKU of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BotChannelInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
BotChannelInner.type()Returns:
validate
public void validate()
Validates the instance.
withEtag
public BotChannelInner withEtag(String etag)
Set the etag property: Entity Tag.
Parameters:
Returns:
withKind
public BotChannelInner withKind(Kind kind)
Set the kind property: Required. Gets or sets the Kind of the resource.
Parameters:
Returns:
withLocation
public BotChannelInner withLocation(String location)
Overrides:
BotChannelInner.withLocation(String location)Parameters:
withProperties
public BotChannelInner withProperties(Channel properties)
Set the properties property: The set of properties specific to bot channel resource.
Parameters:
Returns:
withSku
public BotChannelInner withSku(Sku sku)
Set the sku property: Gets or sets the SKU of the resource.
Parameters:
Returns:
withTags
public BotChannelInner withTags(Map<String,String> tags)
Overrides:
BotChannelInner.withTags(Map<String,String> tags)Parameters:
zones
public List<String> zones()
Get the zones property: Entity zones.
Returns: