Class VmmServerPropertiesCredentials


  • public final class VmmServerPropertiesCredentials
    extends Object
    Credentials to connect to VMMServer.
    • Constructor Detail

      • VmmServerPropertiesCredentials

        public VmmServerPropertiesCredentials()
    • Method Detail

      • username

        public String username()
        Get the username property: Username to use to connect to VMMServer.
        Returns:
        the username value.
      • withUsername

        public VmmServerPropertiesCredentials withUsername​(String username)
        Set the username property: Username to use to connect to VMMServer.
        Parameters:
        username - the username value to set.
        Returns:
        the VmmServerPropertiesCredentials object itself.
      • password

        public String password()
        Get the password property: Credentials to use to connect to VMMServer.
        Returns:
        the password value.
      • withPassword

        public VmmServerPropertiesCredentials withPassword​(String password)
        Set the password property: Credentials to use to connect to VMMServer.
        Parameters:
        password - the password value to set.
        Returns:
        the VmmServerPropertiesCredentials object itself.
      • validate

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