Class ConnectionProfile


  • public final class ConnectionProfile
    extends Object
    Connection profile for how users connect to lab virtual machines.
    • Constructor Detail

      • ConnectionProfile

        public ConnectionProfile()
    • Method Detail

      • webSshAccess

        public ConnectionType webSshAccess()
        Get the webSshAccess property: The enabled access level for Web Access over SSH.
        Returns:
        the webSshAccess value.
      • withWebSshAccess

        public ConnectionProfile withWebSshAccess​(ConnectionType webSshAccess)
        Set the webSshAccess property: The enabled access level for Web Access over SSH.
        Parameters:
        webSshAccess - the webSshAccess value to set.
        Returns:
        the ConnectionProfile object itself.
      • webRdpAccess

        public ConnectionType webRdpAccess()
        Get the webRdpAccess property: The enabled access level for Web Access over RDP.
        Returns:
        the webRdpAccess value.
      • withWebRdpAccess

        public ConnectionProfile withWebRdpAccess​(ConnectionType webRdpAccess)
        Set the webRdpAccess property: The enabled access level for Web Access over RDP.
        Parameters:
        webRdpAccess - the webRdpAccess value to set.
        Returns:
        the ConnectionProfile object itself.
      • clientSshAccess

        public ConnectionType clientSshAccess()
        Get the clientSshAccess property: The enabled access level for Client Access over SSH.
        Returns:
        the clientSshAccess value.
      • withClientSshAccess

        public ConnectionProfile withClientSshAccess​(ConnectionType clientSshAccess)
        Set the clientSshAccess property: The enabled access level for Client Access over SSH.
        Parameters:
        clientSshAccess - the clientSshAccess value to set.
        Returns:
        the ConnectionProfile object itself.
      • clientRdpAccess

        public ConnectionType clientRdpAccess()
        Get the clientRdpAccess property: The enabled access level for Client Access over RDP.
        Returns:
        the clientRdpAccess value.
      • withClientRdpAccess

        public ConnectionProfile withClientRdpAccess​(ConnectionType clientRdpAccess)
        Set the clientRdpAccess property: The enabled access level for Client Access over RDP.
        Parameters:
        clientRdpAccess - the clientRdpAccess value to set.
        Returns:
        the ConnectionProfile object itself.
      • validate

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