ConnectivityDestination Class
- java.
lang. Object - com.
microsoft. azure. management. network. ConnectivityDestination
- com.
public class ConnectivityDestination
Parameters that define destination of connection.
Constructor Summary
Constructor | Description | |
---|---|---|
ConnectivityDestination() |
Method Summary
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 |
resourceId()
Get the ID of the resource to which a connection attempt will be made. |
Connectivity |
withAddress(String address)
Set the IP address or URI the resource to which a connection attempt will be made. |
Connectivity |
withPort(Integer port)
Set port on which check connectivity will be performed. |
Connectivity |
withResourceId(String resourceId)
Set the ID of the resource to which a connection attempt will be made. |
Methods inherited from java.lang.Object
Constructor Details
ConnectivityDestination
public ConnectivityDestination()
Method Details
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: