public class Source extends Object
| Constructor and Description |
|---|
Source() |
| Modifier and Type | Method and 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.
*/