public final class ConnectivitySource extends Object
| Constructor and Description |
|---|
ConnectivitySource() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
port()
Get the port property: The source port from which a connectivity check will be performed.
|
String |
resourceId()
Get the resourceId property: The ID of the resource from which a connectivity check will be initiated.
|
void |
validate()
Validates the instance.
|
ConnectivitySource |
withPort(Integer port)
Set the port property: The source port from which a connectivity check will be performed.
|
ConnectivitySource |
withResourceId(String resourceId)
Set the resourceId property: The ID of the resource from which a connectivity check will be initiated.
|
public String resourceId()
public ConnectivitySource withResourceId(String resourceId)
resourceId - the resourceId value to set.public Integer port()
public ConnectivitySource withPort(Integer port)
port - the port value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.