java.lang.Object
com.azure.resourcemanager.botservice.models.Channel
Direct Known Subclasses:
AlexaChannel, DirectLineChannel, DirectLineSpeechChannel, EmailChannel, FacebookChannel, KikChannel, LineChannel, MsTeamsChannel, SkypeChannel, SlackChannel, SmsChannel, TelegramChannel, WebChatChannel

public class Channel extends Object
Channel definition.
  • Constructor Details

    • Channel

      public Channel()
  • Method Details

    • etag

      public String etag()
      Get the etag property: Entity Tag of the resource.
      Returns:
      the etag value.
    • withEtag

      public Channel withEtag(String etag)
      Set the etag property: Entity Tag of the resource.
      Parameters:
      etag - the etag value to set.
      Returns:
      the Channel object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: Provisioning state of the resource.
      Returns:
      the provisioningState value.
    • location

      public String location()
      Get the location property: Specifies the location of the resource.
      Returns:
      the location value.
    • withLocation

      public Channel withLocation(String location)
      Set the location property: Specifies the location of the resource.
      Parameters:
      location - the location value to set.
      Returns:
      the Channel object itself.
    • validate

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