Class BaiduCredential


  • public final class BaiduCredential
    extends Object
    Description of a NotificationHub BaiduCredential.
    • Constructor Detail

      • BaiduCredential

        public BaiduCredential()
    • Method Detail

      • baiduApiKey

        public String baiduApiKey()
        Get the baiduApiKey property: Baidu Api Key.
        Returns:
        the baiduApiKey value.
      • withBaiduApiKey

        public BaiduCredential withBaiduApiKey​(String baiduApiKey)
        Set the baiduApiKey property: Baidu Api Key.
        Parameters:
        baiduApiKey - the baiduApiKey value to set.
        Returns:
        the BaiduCredential object itself.
      • baiduEndPoint

        public String baiduEndPoint()
        Get the baiduEndPoint property: Baidu Endpoint.
        Returns:
        the baiduEndPoint value.
      • withBaiduEndPoint

        public BaiduCredential withBaiduEndPoint​(String baiduEndPoint)
        Set the baiduEndPoint property: Baidu Endpoint.
        Parameters:
        baiduEndPoint - the baiduEndPoint value to set.
        Returns:
        the BaiduCredential object itself.
      • baiduSecretKey

        public String baiduSecretKey()
        Get the baiduSecretKey property: Baidu Secret Key.
        Returns:
        the baiduSecretKey value.
      • withBaiduSecretKey

        public BaiduCredential withBaiduSecretKey​(String baiduSecretKey)
        Set the baiduSecretKey property: Baidu Secret Key.
        Parameters:
        baiduSecretKey - the baiduSecretKey value to set.
        Returns:
        the BaiduCredential object itself.
      • validate

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