Interface SocialConnectionSummary.Builder

  • Method Details

    • id

      Identifier of the social connection.

      Parameters:
      id - Identifier of the social connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platform

      Social platform this connection authorizes.

      Parameters:
      platform - Social platform this connection authorizes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • platform

      Social platform this connection authorizes.

      Parameters:
      platform - Social platform this connection authorizes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Authorization state.

      Parameters:
      status - Authorization state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Authorization state.

      Parameters:
      status - Authorization state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pageName

      The Facebook Page this connection publishes to. Absent where no Page applies.

      Parameters:
      pageName - The Facebook Page this connection publishes to. Absent where no Page applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountName

      SocialConnectionSummary.Builder accountName(String accountName)

      Display name of the account behind this connection. Absent when the execution backend reports none.

      Parameters:
      accountName - Display name of the account behind this connection. Absent when the execution backend reports none.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • connectedAt

      SocialConnectionSummary.Builder connectedAt(Instant connectedAt)

      When the account was last authorized. Advances on every re-authorization.

      Parameters:
      connectedAt - When the account was last authorized. Advances on every re-authorization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      When the authorization lapses. Absent where the platform reports no expiry (X never does). A connection past this time reads EXPIRED only once the backend notices, so treat this as a warning date, not a status.

      Parameters:
      expiresAt - When the authorization lapses. Absent where the platform reports no expiry (X never does). A connection past this time reads EXPIRED only once the backend notices, so treat this as a warning date, not a status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.