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 Details

    • BotInner

      public BotInner()
  • Method Details

    • 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.
    • zones

      public List<String> zones()
      Get the zones property: Entity zones.
      Returns:
      the zones value.
    • withLocation

      public BotInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public BotInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.