public final class ConnectivityDestination extends Object
| Constructor and Description |
|---|
ConnectivityDestination() |
| Modifier and Type | Method and Description |
|---|---|
String |
address()
Get the address property: The IP address or URI the resource to which a connection attempt will be made.
|
Integer |
port()
Get the port property: Port on which check connectivity will be performed.
|
String |
resourceId()
Get the resourceId property: The ID of the resource to which a connection attempt will be made.
|
void |
validate()
Validates the instance.
|
ConnectivityDestination |
withAddress(String address)
Set the address property: The IP address or URI the resource to which a connection attempt will be made.
|
ConnectivityDestination |
withPort(Integer port)
Set the port property: Port on which check connectivity will be performed.
|
ConnectivityDestination |
withResourceId(String resourceId)
Set the resourceId property: 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 set.public String address()
public ConnectivityDestination withAddress(String address)
address - the address value to set.public Integer port()
public ConnectivityDestination withPort(Integer port)
port - the port value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.