All Superinterfaces:
ChannelCredentials, LineCredentialsCommon

public interface LineCredentials extends ChannelCredentials, LineCredentialsCommon
If the channel property is set to LINE for this entry of the channel_credentials array, you must include either the line_credentials object or the line_enterprise_credentials object in the entry as well.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Dedicated Builder
  • Method Summary

    Modifier and Type
    Method
    Description
    Getting builder
    When an app contains multiple LINE or LINE Enterprise credentials, one of the credentials needs to be defined as the default.
    The secret for the LINE channel to which you are connecting.
    The token for the LINE channel to which you are connecting.
  • Method Details

    • getToken

      String getToken()
      The token for the LINE channel to which you are connecting.

      Field is required

      Specified by:
      getToken in interface LineCredentialsCommon
      Returns:
      token
    • getSecret

      String getSecret()
      The secret for the LINE channel to which you are connecting.

      Field is required

      Specified by:
      getSecret in interface LineCredentialsCommon
      Returns:
      secret
    • getIsDefault

      Boolean getIsDefault()
      When an app contains multiple LINE or LINE Enterprise credentials, one of the credentials needs to be defined as the default. Setting this property to true marks the corresponding credentials as the default credentials.
      Specified by:
      getIsDefault in interface LineCredentialsCommon
      Returns:
      isDefault
    • builder

      static LineCredentials.Builder builder()
      Getting builder
      Returns:
      New Builder instance