Class VirtualIpMapping


  • public final class VirtualIpMapping
    extends Object
    Virtual IP mapping.
    • Constructor Detail

      • VirtualIpMapping

        public VirtualIpMapping()
    • Method Detail

      • virtualIp

        public String virtualIp()
        Get the virtualIp property: Virtual IP address.
        Returns:
        the virtualIp value.
      • withVirtualIp

        public VirtualIpMapping withVirtualIp​(String virtualIp)
        Set the virtualIp property: Virtual IP address.
        Parameters:
        virtualIp - the virtualIp value to set.
        Returns:
        the VirtualIpMapping object itself.
      • internalHttpPort

        public Integer internalHttpPort()
        Get the internalHttpPort property: Internal HTTP port.
        Returns:
        the internalHttpPort value.
      • withInternalHttpPort

        public VirtualIpMapping withInternalHttpPort​(Integer internalHttpPort)
        Set the internalHttpPort property: Internal HTTP port.
        Parameters:
        internalHttpPort - the internalHttpPort value to set.
        Returns:
        the VirtualIpMapping object itself.
      • internalHttpsPort

        public Integer internalHttpsPort()
        Get the internalHttpsPort property: Internal HTTPS port.
        Returns:
        the internalHttpsPort value.
      • withInternalHttpsPort

        public VirtualIpMapping withInternalHttpsPort​(Integer internalHttpsPort)
        Set the internalHttpsPort property: Internal HTTPS port.
        Parameters:
        internalHttpsPort - the internalHttpsPort value to set.
        Returns:
        the VirtualIpMapping object itself.
      • inUse

        public Boolean inUse()
        Get the inUse property: Is virtual IP mapping in use.
        Returns:
        the inUse value.
      • withInUse

        public VirtualIpMapping withInUse​(Boolean inUse)
        Set the inUse property: Is virtual IP mapping in use.
        Parameters:
        inUse - the inUse value to set.
        Returns:
        the VirtualIpMapping object itself.
      • serviceName

        public String serviceName()
        Get the serviceName property: name of the service that virtual IP is assigned to.
        Returns:
        the serviceName value.
      • withServiceName

        public VirtualIpMapping withServiceName​(String serviceName)
        Set the serviceName property: name of the service that virtual IP is assigned to.
        Parameters:
        serviceName - the serviceName value to set.
        Returns:
        the VirtualIpMapping object itself.
      • validate

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