Class ContainerRegistryEventRequest


  • public class ContainerRegistryEventRequest
    extends Object
    The request that generated the event.
    • Constructor Detail

      • ContainerRegistryEventRequest

        public ContainerRegistryEventRequest()
    • Method Detail

      • id

        public String id()
        Get the ID of the request that initiated the event.
        Returns:
        the id value
      • withId

        public ContainerRegistryEventRequest withId​(String id)
        Set the ID of the request that initiated the event.
        Parameters:
        id - the id value to set
        Returns:
        the ContainerRegistryEventRequest object itself.
      • addr

        public String addr()
        Get the IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
        Returns:
        the addr value
      • withAddr

        public ContainerRegistryEventRequest withAddr​(String addr)
        Set the IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.
        Parameters:
        addr - the addr value to set
        Returns:
        the ContainerRegistryEventRequest object itself.
      • host

        public String host()
        Get the externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
        Returns:
        the host value
      • withHost

        public ContainerRegistryEventRequest withHost​(String host)
        Set the externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.
        Parameters:
        host - the host value to set
        Returns:
        the ContainerRegistryEventRequest object itself.
      • method

        public String method()
        Get the request method that generated the event.
        Returns:
        the method value
      • withMethod

        public ContainerRegistryEventRequest withMethod​(String method)
        Set the request method that generated the event.
        Parameters:
        method - the method value to set
        Returns:
        the ContainerRegistryEventRequest object itself.
      • useragent

        public String useragent()
        Get the user agent header of the request.
        Returns:
        the useragent value
      • withUseragent

        public ContainerRegistryEventRequest withUseragent​(String useragent)
        Set the user agent header of the request.
        Parameters:
        useragent - the useragent value to set
        Returns:
        the ContainerRegistryEventRequest object itself.