Class CumulocityCredentialsFactory

    • Constructor Detail

      • CumulocityCredentialsFactory

        public CumulocityCredentialsFactory()
    • Method Detail

      • withTenant

        public CumulocityCredentialsFactory withTenant​(String tenant)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withUsername

        public CumulocityCredentialsFactory withUsername​(String username)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withPassword

        public CumulocityCredentialsFactory withPassword​(String password)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withOAuthAccessToken

        public CumulocityCredentialsFactory withOAuthAccessToken​(String oAuthAccessToken)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withXsrfToken

        public CumulocityCredentialsFactory withXsrfToken​(String xsrfToken)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withApplicationKey

        public CumulocityCredentialsFactory withApplicationKey​(String applicationKey)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withRequestOrigin

        public CumulocityCredentialsFactory withRequestOrigin​(String requestOrigin)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withAuthenticationMethod

        public CumulocityCredentialsFactory withAuthenticationMethod​(AuthenticationMethod authenticationMethod)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).