Class NetworkProxy


  • public class NetworkProxy
    extends MorpheusModel
    Proxies can be associated with networks for assignment during provisioning or for use when interacting with various public cloud APIS (called provisioning proxies). They can be set on the Network or in some cases the Cloud
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String name
      The displayable name given to the proxy configuration being referenced
    • Constructor Summary

      Constructors 
      Constructor Description
      NetworkProxy()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the displayable name given to the proxy configuration being referenced.
      java.lang.String getProxyDomain()
      Gets the proxy domain used for proxy authentication typically with KERBEROS or Windows Domain related Proxy Servers.
      java.lang.String getProxyHost()
      Fetches the Host IP of the proxy server being utilized.
      java.lang.String getProxyPassword()
      Gets the Password used to authenticate with the proxy server, if applicable
      java.lang.Integer getProxyPort()
      Gets the configured proxy port, this is typically related to SOCKS compliant Proxies.
      java.lang.String getProxyUser()
      Gets the Username used to authenticate with the proxy server, if applicable
      java.lang.String getProxyWorkstation()
      Gets the proxy workstation used for proxy authentication.
      void setName​(java.lang.String name)
      Sets the displayable name given to the proxy configuration being referenced.
      void setProxyDomain​(java.lang.String proxyDomain)
      Sets the proxy domain used for proxy authentication typically with KERBEROS or Windows Domain related Proxy Servers.
      void setProxyHost​(java.lang.String proxyHost)
      Sets the Host IP of the proxy server being utilized.
      void setProxyPassword​(java.lang.String proxyPassword)
      Sets the Password used to authenticate with the proxy server, if applicable
      void setProxyPort​(java.lang.Integer proxyPort)
      Sets the configured proxy port, this is typically related to SOCKS compliant Proxies.
      void setProxyUser​(java.lang.String proxyUser)
      Sets the Username used to authenticate with the proxy server, if applicable
      void setProxyWorkstation​(java.lang.String proxyWorkstation)
      Sets the proxy workstation used for proxy authentication.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
        The displayable name given to the proxy configuration being referenced
    • Constructor Detail

      • NetworkProxy

        public NetworkProxy()
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the displayable name given to the proxy configuration being referenced.
        Returns:
        the display name for the current proxy record
      • setName

        public void setName​(java.lang.String name)
        Sets the displayable name given to the proxy configuration being referenced.
        Parameters:
        name - the display name for the current proxy record
      • getProxyHost

        public java.lang.String getProxyHost()
        Fetches the Host IP of the proxy server being utilized.
        Returns:
        IP Address or host resolvable dns of proxy server
      • setProxyHost

        public void setProxyHost​(java.lang.String proxyHost)
        Sets the Host IP of the proxy server being utilized.
        Parameters:
        proxyHost - proxy host
      • getProxyPort

        public java.lang.Integer getProxyPort()
        Gets the configured proxy port, this is typically related to SOCKS compliant Proxies.
        Returns:
        the port address of the proxy server being utilized
      • setProxyPort

        public void setProxyPort​(java.lang.Integer proxyPort)
        Sets the configured proxy port, this is typically related to SOCKS compliant Proxies.
        Parameters:
        proxyPort - numerical tcp/ip Port of the proxy service
      • getProxyUser

        public java.lang.String getProxyUser()
        Gets the Username used to authenticate with the proxy server, if applicable
        Returns:
        proxyUser String of the username used for authentication
      • setProxyUser

        public void setProxyUser​(java.lang.String proxyUser)
        Sets the Username used to authenticate with the proxy server, if applicable
        Parameters:
        proxyUser - String of the username used for authentication
      • getProxyPassword

        public java.lang.String getProxyPassword()
        Gets the Password used to authenticate with the proxy server, if applicable
        Returns:
        proxyPassword the password that is used for password authentication with the proxy
      • setProxyPassword

        public void setProxyPassword​(java.lang.String proxyPassword)
        Sets the Password used to authenticate with the proxy server, if applicable
        Parameters:
        proxyPassword - the password that is used for password authentication with the proxy
      • getProxyDomain

        public java.lang.String getProxyDomain()
        Gets the proxy domain used for proxy authentication typically with KERBEROS or Windows Domain related Proxy Servers. This prompt is entirely optional and specific to a small subset of proxy servers
        Returns:
        the domain we wish to authenticate against for authorization to use this proxy server
      • setProxyDomain

        public void setProxyDomain​(java.lang.String proxyDomain)
        Sets the proxy domain used for proxy authentication typically with KERBEROS or Windows Domain related Proxy Servers. This prompt is entirely optional and specific to a small subset of proxy servers
        Parameters:
        proxyDomain - the domain we wish to authenticate against for authorization to use this proxy server
      • getProxyWorkstation

        public java.lang.String getProxyWorkstation()
        Gets the proxy workstation used for proxy authentication. Also related to windows based proxy server authentication.
        Returns:
        the workstation property used for some types of windows proxy authentication schemes
      • setProxyWorkstation

        public void setProxyWorkstation​(java.lang.String proxyWorkstation)
        Sets the proxy workstation used for proxy authentication. Also related to windows based proxy server authentication.
        Parameters:
        proxyWorkstation - the workstation property used for some types of windows proxy authentication schemes