java.lang.Object
com.microsoft.azure.management.containerregistry.Source

public class Source extends Object
The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
  • Constructor Details

    • Source

      public Source()
  • 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
    • withAddr

      public Source 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 Source object itself.
    • instanceID

      public String instanceID()
      Get the running instance of an application. Changes after each restart.
      Returns:
      the instanceID value
    • withInstanceID

      public Source withInstanceID(String instanceID)
      Set the running instance of an application. Changes after each restart.
      Parameters:
      instanceID - the instanceID value to set
      Returns:
      the Source object itself.