Class ContainerRegistryEventRequest
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerRegistryEventRequest
The request that generated the event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAddr()
Get the addr property: The IP or hostname and possibly port of the client connection that initiated the event.getHost()
Get the host property: The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.getId()
Get the id property: The ID of the request that initiated the event.Get the method property: The request method that generated the event.Get the useragent property: The user agent header of the request.Set the addr property: The IP or hostname and possibly port of the client connection that initiated the event.Set the host property: The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.Set the id property: The ID of the request that initiated the event.Set the method property: The request method that generated the event.setUseragent
(String useragent) Set the useragent property: The user agent header of the request.
-
Constructor Details
-
ContainerRegistryEventRequest
public ContainerRegistryEventRequest()
-
-
Method Details
-
getId
Get the id property: The ID of the request that initiated the event.- Returns:
- the id value.
-
setId
Set the id property: The ID of the request that initiated the event.- Parameters:
id
- the id value to set.- Returns:
- the ContainerRegistryEventRequest object itself.
-
getAddr
Get the addr property: 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.
-
setAddr
Set the addr property: 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.
-
getHost
Get the host property: The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.- Returns:
- the host value.
-
setHost
Set the host property: 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.
-
getMethod
Get the method property: The request method that generated the event.- Returns:
- the method value.
-
setMethod
Set the method property: The request method that generated the event.- Parameters:
method
- the method value to set.- Returns:
- the ContainerRegistryEventRequest object itself.
-
getUseragent
Get the useragent property: The user agent header of the request.- Returns:
- the useragent value.
-
setUseragent
Set the useragent property: The user agent header of the request.- Parameters:
useragent
- the useragent value to set.- Returns:
- the ContainerRegistryEventRequest object itself.
-