Class DataConnectorConnectBody


  • public final class DataConnectorConnectBody
    extends Object
    Represents Codeless API Polling data connector.
    • Constructor Detail

      • DataConnectorConnectBody

        public DataConnectorConnectBody()
    • Method Detail

      • kind

        public ConnectAuthKind kind()
        Get the kind property: The authentication kind used to poll the data.
        Returns:
        the kind value.
      • withKind

        public DataConnectorConnectBody withKind​(ConnectAuthKind kind)
        Set the kind property: The authentication kind used to poll the data.
        Parameters:
        kind - the kind value to set.
        Returns:
        the DataConnectorConnectBody object itself.
      • apiKey

        public String apiKey()
        Get the apiKey property: The API key of the audit server.
        Returns:
        the apiKey value.
      • withApiKey

        public DataConnectorConnectBody withApiKey​(String apiKey)
        Set the apiKey property: The API key of the audit server.
        Parameters:
        apiKey - the apiKey value to set.
        Returns:
        the DataConnectorConnectBody object itself.
      • clientSecret

        public String clientSecret()
        Get the clientSecret property: The client secret of the OAuth 2.0 application.
        Returns:
        the clientSecret value.
      • withClientSecret

        public DataConnectorConnectBody withClientSecret​(String clientSecret)
        Set the clientSecret property: The client secret of the OAuth 2.0 application.
        Parameters:
        clientSecret - the clientSecret value to set.
        Returns:
        the DataConnectorConnectBody object itself.
      • clientId

        public String clientId()
        Get the clientId property: The client id of the OAuth 2.0 application.
        Returns:
        the clientId value.
      • withClientId

        public DataConnectorConnectBody withClientId​(String clientId)
        Set the clientId property: The client id of the OAuth 2.0 application.
        Parameters:
        clientId - the clientId value to set.
        Returns:
        the DataConnectorConnectBody object itself.
      • authorizationCode

        public String authorizationCode()
        Get the authorizationCode property: The authorization code used in OAuth 2.0 code flow to issue a token.
        Returns:
        the authorizationCode value.
      • withAuthorizationCode

        public DataConnectorConnectBody withAuthorizationCode​(String authorizationCode)
        Set the authorizationCode property: The authorization code used in OAuth 2.0 code flow to issue a token.
        Parameters:
        authorizationCode - the authorizationCode value to set.
        Returns:
        the DataConnectorConnectBody object itself.
      • username

        public String username()
        Get the username property: The user name in the audit log server.
        Returns:
        the username value.
      • withUsername

        public DataConnectorConnectBody withUsername​(String username)
        Set the username property: The user name in the audit log server.
        Parameters:
        username - the username value to set.
        Returns:
        the DataConnectorConnectBody object itself.
      • password

        public String password()
        Get the password property: The user password in the audit log server.
        Returns:
        the password value.
      • withPassword

        public DataConnectorConnectBody withPassword​(String password)
        Set the password property: The user password in the audit log server.
        Parameters:
        password - the password value to set.
        Returns:
        the DataConnectorConnectBody object itself.
      • requestConfigUserInputValues

        public List<Object> requestConfigUserInputValues()
        Get the requestConfigUserInputValues property: The requestConfigUserInputValues property.
        Returns:
        the requestConfigUserInputValues value.
      • withRequestConfigUserInputValues

        public DataConnectorConnectBody withRequestConfigUserInputValues​(List<Object> requestConfigUserInputValues)
        Set the requestConfigUserInputValues property: The requestConfigUserInputValues property.
        Parameters:
        requestConfigUserInputValues - the requestConfigUserInputValues value to set.
        Returns:
        the DataConnectorConnectBody object itself.
      • validate

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