ConnectivityDestination Class
- java.
lang. Object - com.
microsoft. azure. management. network. ConnectivityDestination
- com.
public class ConnectivityDestination
Parameters that define destination of connection.
Constructor | Description | |
---|---|---|
Connectivity |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
address()
Get the IP address or URI the resource to which a connection attempt will be made. |
java.lang.Integer |
port()
Get port on which check connectivity will be performed. |
java.lang.String |
resource Get the ID of the resource to which a connection attempt will be made. |
Connectivity |
with Set the IP address or URI the resource to which a connection attempt will be made. |
Connectivity |
with Set port on which check connectivity will be performed. |
Connectivity |
with Set the ID of the resource to which a connection attempt will be made. |
ConnectivityDestination
public ConnectivityDestination()
address
public String address()
Get the IP address or URI the resource to which a connection attempt will be made.
Returns:
port
public Integer port()
Get port on which check connectivity will be performed.
Returns:
resourceId
public String resourceId()
Get the ID of the resource to which a connection attempt will be made.
Returns:
withAddress
public ConnectivityDestination withAddress(String address)
Set the IP address or URI the resource to which a connection attempt will be made.
Parameters:
Returns:
withPort
public ConnectivityDestination withPort(Integer port)
Set port on which check connectivity will be performed.
Parameters:
Returns:
withResourceId
public ConnectivityDestination withResourceId(String resourceId)
Set the ID of the resource to which a connection attempt will be made.
Parameters:
Returns: