Class Source
java.lang.Object
com.microsoft.azure.management.containerregistry.Source
The registry node that generated the event. Put differently, while the actor
initiates the event, the source generates it.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddr()
Get the IP or hostname and the port of the registry node that generated the event.Get the running instance of an application.Set the IP or hostname and the port of the registry node that generated the event.withInstanceID
(String instanceID) Set the running instance of an application.
-
Constructor Details
-
Source
public Source()
-
-
Method Details
-
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
-
withAddr
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 Source object itself.
-
instanceID
Get the running instance of an application. Changes after each restart.- Returns:
- the instanceID value
-
withInstanceID
Set the running instance of an application. Changes after each restart.- Parameters:
instanceID
- the instanceID value to set- Returns:
- the Source object itself.
-