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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor