ConnectivityDestination Class

  • java.lang.Object
    • com.microsoft.azure.management.network.ConnectivityDestination

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.

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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the address value

port

public Integer port()

Get port on which check connectivity will be performed.

Returns:

the port value

resourceId

public String resourceId()

Get the ID of the resource to which a connection attempt will be made.

Returns:

the resourceId value

withAddress

public ConnectivityDestination withAddress(String address)

Set the IP address or URI the resource to which a connection attempt will be made.

Parameters:

address - the address value to set

Returns:

the ConnectivityDestination object itself.

withPort

public ConnectivityDestination withPort(Integer port)

Set port on which check connectivity will be performed.

Parameters:

port - the port value to set

Returns:

the ConnectivityDestination object itself.

withResourceId

public ConnectivityDestination withResourceId(String resourceId)

Set the ID of the resource to which a connection attempt will be made.

Parameters:

resourceId - the resourceId value to set

Returns:

the ConnectivityDestination object itself.

Applies to