Class BotChannelInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.botservice.fluent.models.BotChannelInner
-
- Direct Known Subclasses:
ListChannelWithKeysResponseInner
public class BotChannelInner extends com.azure.core.management.Resource
Bot channel resource definition.
-
-
Constructor Summary
Constructors Constructor Description BotChannelInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: Entity Tag.Kind
kind()
Get the kind property: Required.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.void
validate()
Validates the instance.BotChannelInner
withEtag(String etag)
Set the etag property: Entity Tag.BotChannelInner
withKind(Kind kind)
Set the kind property: Required.BotChannelInner
withLocation(String location)
BotChannelInner
withProperties(Channel properties)
Set the properties property: The set of properties specific to bot channel resource.BotChannelInner
withSku(Sku sku)
Set the sku property: Gets or sets the SKU of the resource.BotChannelInner
withTags(Map<String,String> tags)
List<String>
zones()
Get the zones property: Entity zones.
-
-
-
Method Detail
-
properties
public Channel properties()
Get the properties property: The set of properties specific to bot channel resource.- Returns:
- the properties value.
-
withProperties
public BotChannelInner withProperties(Channel properties)
Set the properties property: The set of properties specific to bot channel resource.- Parameters:
properties
- the properties value to set.- Returns:
- the BotChannelInner object itself.
-
sku
public Sku sku()
Get the sku property: Gets or sets the SKU of the resource.- Returns:
- the sku value.
-
withSku
public BotChannelInner withSku(Sku sku)
Set the sku property: Gets or sets the SKU of the resource.- Parameters:
sku
- the sku value to set.- Returns:
- the BotChannelInner object itself.
-
kind
public Kind kind()
Get the kind property: Required. Gets or sets the Kind of the resource.- Returns:
- the kind value.
-
withKind
public BotChannelInner withKind(Kind kind)
Set the kind property: Required. Gets or sets the Kind of the resource.- Parameters:
kind
- the kind value to set.- Returns:
- the BotChannelInner object itself.
-
etag
public String etag()
Get the etag property: Entity Tag.- Returns:
- the etag value.
-
withEtag
public BotChannelInner withEtag(String etag)
Set the etag property: Entity Tag.- Parameters:
etag
- the etag value to set.- Returns:
- the BotChannelInner object itself.
-
withLocation
public BotChannelInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public BotChannelInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-