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