ConnectivitySource Class
- java.
lang. Object - com.
microsoft. azure. management. network. ConnectivitySource
- com.
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. |
Connectivity |
withPort(Integer port)
Set the source port from which a connectivity check will be performed. |
Connectivity |
withResourceId(String resourceId)
Set the ID of the resource from which a connectivity check will be initiated. |
Methods inherited from java.lang.Object
Constructor Details
ConnectivitySource
public ConnectivitySource()
Method Details
port
public Integer port()
Get the source port from which a connectivity check will be performed.
Returns:
resourceId
public String resourceId()
Get the ID of the resource from which a connectivity check will be initiated.
Returns:
withPort
public ConnectivitySource withPort(Integer port)
Set the source port from which a connectivity check will be performed.
Parameters:
Returns:
withResourceId
public ConnectivitySource withResourceId(String resourceId)
Set the ID of the resource from which a connectivity check will be initiated.
Parameters:
Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin