Dela via


ContainerRegistryEventSource Class

  • java.lang.Object
    • com.microsoft.azure.eventgrid.models.ContainerRegistryEventSource

public class ContainerRegistryEventSource

The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.

Constructor Summary

Constructor Description
ContainerRegistryEventSource()

Method Summary

Modifier and Type Method and Description
java.lang.String addr()

Get the IP or hostname and the port of the registry node that generated the event.

java.lang.String instanceID()

Get the running instance of an application.

ContainerRegistryEventSource withAddr(String addr)

Set the IP or hostname and the port of the registry node that generated the event.

ContainerRegistryEventSource withInstanceID(String instanceID)

Set the running instance of an application.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ContainerRegistryEventSource

public ContainerRegistryEventSource()

Method Details

addr

public String addr()

Get 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

instanceID

public String instanceID()

Get the running instance of an application. Changes after each restart.

Returns:

the instanceID value

withAddr

public ContainerRegistryEventSource withAddr(String addr)

Set 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.

withInstanceID

public ContainerRegistryEventSource withInstanceID(String instanceID)

Set the running instance of an application. Changes after each restart.

Parameters:

instanceID - the instanceID value to set

Returns:

the ContainerRegistryEventSource object itself.

Applies to