public class ConnectivityDestination extends Object
| Constructor and Description |
|---|
ConnectivityDestination() |
| Modifier and Type | Method and Description |
|---|---|
String |
address()
Get the IP address or URI the resource to which a connection attempt will be made.
|
Integer |
port()
Get port on which check connectivity will be performed.
|
String |
resourceId()
Get the ID of the resource to which a connection attempt will be made.
|
ConnectivityDestination |
withAddress(String address)
Set the IP address or URI the resource to which a connection attempt will be made.
|
ConnectivityDestination |
withPort(Integer port)
Set port on which check connectivity will be performed.
|
ConnectivityDestination |
withResourceId(String resourceId)
Set the ID of the resource to which a connection attempt will be made.
|
public String resourceId()
public ConnectivityDestination withResourceId(String resourceId)
resourceId - the resourceId value to setpublic String address()
public ConnectivityDestination withAddress(String address)
address - the address value to setpublic Integer port()
public ConnectivityDestination withPort(Integer port)
port - the port value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/