Class BotInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.botservice.fluent.models.BotInner
-
public final class BotInner extends com.azure.core.management.Resource
Bot resource definition.
-
-
Constructor Summary
Constructors Constructor Description BotInner()
-
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.BotProperties
properties()
Get the properties property: The set of properties specific to bot resource.Sku
sku()
Get the sku property: Gets or sets the SKU of the resource.void
validate()
Validates the instance.BotInner
withEtag(String etag)
Set the etag property: Entity Tag.BotInner
withKind(Kind kind)
Set the kind property: Required.BotInner
withLocation(String location)
BotInner
withProperties(BotProperties properties)
Set the properties property: The set of properties specific to bot resource.BotInner
withSku(Sku sku)
Set the sku property: Gets or sets the SKU of the resource.BotInner
withTags(Map<String,String> tags)
List<String>
zones()
Get the zones property: Entity zones.
-
-
-
Method Detail
-
properties
public BotProperties properties()
Get the properties property: The set of properties specific to bot resource.- Returns:
- the properties value.
-
withProperties
public BotInner withProperties(BotProperties properties)
Set the properties property: The set of properties specific to bot resource.- Parameters:
properties
- the properties value to set.- Returns:
- the BotInner object itself.
-
sku
public Sku sku()
Get the sku property: Gets or sets the SKU of the resource.- Returns:
- the sku value.
-
withSku
public BotInner withSku(Sku sku)
Set the sku property: Gets or sets the SKU of the resource.- Parameters:
sku
- the sku value to set.- Returns:
- the BotInner 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 BotInner 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 BotInner object itself.
-
etag
public String etag()
Get the etag property: Entity Tag.- Returns:
- the etag value.
-
withEtag
public BotInner withEtag(String etag)
Set the etag property: Entity Tag.- Parameters:
etag
- the etag value to set.- Returns:
- the BotInner object itself.
-
withLocation
public BotInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public BotInner 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.
-
-