public class Source extends Object
| Constructor | Description |
|---|---|
Source() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
addr() |
Get the IP or hostname and the port of the registry node that generated the event.
|
String |
instanceID() |
Get the running instance of an application.
|
Source |
withAddr(String addr) |
Set the IP or hostname and the port of the registry node that generated the event.
|
Source |
withInstanceID(String instanceID) |
Set the running instance of an application.
|
public String addr()
public Source withAddr(String addr)
addr - the addr value to setpublic String instanceID()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/