Class TeamDeskLinkedServiceTypeProperties


  • public final class TeamDeskLinkedServiceTypeProperties
    extends Object
    TeamDesk linked service type properties.
    • Constructor Detail

      • TeamDeskLinkedServiceTypeProperties

        public TeamDeskLinkedServiceTypeProperties()
    • Method Detail

      • authenticationType

        public TeamDeskAuthenticationType authenticationType()
        Get the authenticationType property: The authentication type to use.
        Returns:
        the authenticationType value.
      • withAuthenticationType

        public TeamDeskLinkedServiceTypeProperties withAuthenticationType​(TeamDeskAuthenticationType authenticationType)
        Set the authenticationType property: The authentication type to use.
        Parameters:
        authenticationType - the authenticationType value to set.
        Returns:
        the TeamDeskLinkedServiceTypeProperties object itself.
      • url

        public Object url()
        Get the url property: The url to connect TeamDesk source. Type: string (or Expression with resultType string).
        Returns:
        the url value.
      • withUrl

        public TeamDeskLinkedServiceTypeProperties withUrl​(Object url)
        Set the url property: The url to connect TeamDesk source. Type: string (or Expression with resultType string).
        Parameters:
        url - the url value to set.
        Returns:
        the TeamDeskLinkedServiceTypeProperties object itself.
      • username

        public Object username()
        Get the username property: The username of the TeamDesk source. Type: string (or Expression with resultType string).
        Returns:
        the username value.
      • withUsername

        public TeamDeskLinkedServiceTypeProperties withUsername​(Object username)
        Set the username property: The username of the TeamDesk source. Type: string (or Expression with resultType string).
        Parameters:
        username - the username value to set.
        Returns:
        the TeamDeskLinkedServiceTypeProperties object itself.
      • password

        public SecretBase password()
        Get the password property: The password of the TeamDesk source.
        Returns:
        the password value.
      • withPassword

        public TeamDeskLinkedServiceTypeProperties withPassword​(SecretBase password)
        Set the password property: The password of the TeamDesk source.
        Parameters:
        password - the password value to set.
        Returns:
        the TeamDeskLinkedServiceTypeProperties object itself.
      • apiToken

        public SecretBase apiToken()
        Get the apiToken property: The api token for the TeamDesk source.
        Returns:
        the apiToken value.
      • withApiToken

        public TeamDeskLinkedServiceTypeProperties withApiToken​(SecretBase apiToken)
        Set the apiToken property: The api token for the TeamDesk source.
        Parameters:
        apiToken - the apiToken value to set.
        Returns:
        the TeamDeskLinkedServiceTypeProperties object itself.
      • encryptedCredential

        public Object encryptedCredential()
        Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
        Returns:
        the encryptedCredential value.
      • withEncryptedCredential

        public TeamDeskLinkedServiceTypeProperties withEncryptedCredential​(Object encryptedCredential)
        Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
        Parameters:
        encryptedCredential - the encryptedCredential value to set.
        Returns:
        the TeamDeskLinkedServiceTypeProperties object itself.
      • validate

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