Class ContainerRegistryEventSource
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.ContainerRegistryEventSource
-
public final class ContainerRegistryEventSource extends Object
The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
-
-
Constructor Summary
Constructors Constructor Description ContainerRegistryEventSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddr()
Get the addr property: The IP or hostname and the port of the registry node that generated the event.String
getInstanceID()
Get the instanceID property: The running instance of an application.ContainerRegistryEventSource
setAddr(String addr)
Set the addr property: The IP or hostname and the port of the registry node that generated the event.ContainerRegistryEventSource
setInstanceID(String instanceID)
Set the instanceID property: The running instance of an application.
-
-
-
Method Detail
-
getAddr
public String getAddr()
Get the addr property: The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.- Returns:
- the addr value.
-
setAddr
public ContainerRegistryEventSource setAddr(String addr)
Set the addr property: The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.- Parameters:
addr
- the addr value to set.- Returns:
- the ContainerRegistryEventSource object itself.
-
getInstanceID
public String getInstanceID()
Get the instanceID property: The running instance of an application. Changes after each restart.- Returns:
- the instanceID value.
-
setInstanceID
public ContainerRegistryEventSource setInstanceID(String instanceID)
Set the instanceID property: The running instance of an application. Changes after each restart.- Parameters:
instanceID
- the instanceID value to set.- Returns:
- the ContainerRegistryEventSource object itself.
-
-