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 Summary
Constructors Constructor Description FacebookPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accessToken()
Get the accessToken property: Facebook application access token.String
id()
Get the id property: Page id.void
validate()
Validates the instance.FacebookPage
withAccessToken(String accessToken)
Set the accessToken property: Facebook application access token.FacebookPage
withId(String id)
Set the id property: Page id.
-
-
-
Method Detail
-
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.
-
-