Class FacebookChannel

java.lang.Object
com.azure.resourcemanager.botservice.models.Channel
com.azure.resourcemanager.botservice.models.FacebookChannel

public final class FacebookChannel extends Channel
Facebook channel definition.
  • Constructor Details

    • FacebookChannel

      public FacebookChannel()
  • Method Details

    • properties

      public FacebookChannelProperties properties()
      Get the properties property: The set of properties specific to bot facebook channel.
      Returns:
      the properties value.
    • withProperties

      public FacebookChannel withProperties(FacebookChannelProperties properties)
      Set the properties property: The set of properties specific to bot facebook channel.
      Parameters:
      properties - the properties value to set.
      Returns:
      the FacebookChannel object itself.
    • withEtag

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

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

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