ConnectivitySource Class

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

public class ConnectivitySource

Parameters that define the source of the connection.

Constructor Summary

Constructor Description
ConnectivitySource()

Method Summary

Modifier and Type Method and Description
java.lang.Integer port()

Get the source port from which a connectivity check will be performed.

java.lang.String resourceId()

Get the ID of the resource from which a connectivity check will be initiated.

ConnectivitySource withPort(Integer port)

Set the source port from which a connectivity check will be performed.

ConnectivitySource withResourceId(String resourceId)

Set the ID of the resource from which a connectivity check will be initiated.

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

ConnectivitySource

public ConnectivitySource()

Method Details

port

public Integer port()

Get the source port from which a connectivity check will be performed.

Returns:

the port value

resourceId

public String resourceId()

Get the ID of the resource from which a connectivity check will be initiated.

Returns:

the resourceId value

withPort

public ConnectivitySource withPort(Integer port)

Set the source port from which a connectivity check will be performed.

Parameters:

port - the port value to set

Returns:

the ConnectivitySource object itself.

withResourceId

public ConnectivitySource withResourceId(String resourceId)

Set the ID of the resource from which a connectivity check will be initiated.

Parameters:

resourceId - the resourceId value to set

Returns:

the ConnectivitySource object itself.

Applies to