Class FacebookPage

java.lang.Object
com.azure.resourcemanager.botservice.models.FacebookPage

public final class FacebookPage extends Object
A Facebook page for Facebook channel registration.
  • Constructor Details

    • FacebookPage

      public FacebookPage()
  • Method Details

    • id

      public String id()
      Get the id property: Page id.
      Returns:
      the id value.
    • withId

      public FacebookPage withId(String id)
      Set the id property: Page id.
      Parameters:
      id - the id value to set.
      Returns:
      the FacebookPage object itself.
    • accessToken

      public String accessToken()
      Get the accessToken property: Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.
      Returns:
      the accessToken value.
    • withAccessToken

      public FacebookPage withAccessToken(String accessToken)
      Set the accessToken property: Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.
      Parameters:
      accessToken - the accessToken value to set.
      Returns:
      the FacebookPage object itself.
    • validate

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