Class TwilioLinkedServiceTypeProperties


  • public final class TwilioLinkedServiceTypeProperties
    extends Object
    Twilio linked service type properties.
    • Constructor Detail

      • TwilioLinkedServiceTypeProperties

        public TwilioLinkedServiceTypeProperties()
    • Method Detail

      • username

        public Object username()
        Get the username property: The Account SID of Twilio service.
        Returns:
        the username value.
      • withUsername

        public TwilioLinkedServiceTypeProperties withUsername​(Object username)
        Set the username property: The Account SID of Twilio service.
        Parameters:
        username - the username value to set.
        Returns:
        the TwilioLinkedServiceTypeProperties object itself.
      • password

        public SecretBase password()
        Get the password property: The auth token of Twilio service.
        Returns:
        the password value.
      • withPassword

        public TwilioLinkedServiceTypeProperties withPassword​(SecretBase password)
        Set the password property: The auth token of Twilio service.
        Parameters:
        password - the password value to set.
        Returns:
        the TwilioLinkedServiceTypeProperties object itself.
      • validate

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