public final class NetworkConfigurationDiagnosticProfile extends Object
| Constructor and Description |
|---|
NetworkConfigurationDiagnosticProfile() |
| Modifier and Type | Method and Description |
|---|---|
String |
destination()
Get the destination property: Traffic destination.
|
String |
destinationPort()
Get the destinationPort property: Traffic destination port.
|
Direction |
direction()
Get the direction property: The direction of the traffic.
|
String |
protocol()
Get the protocol property: Protocol to be verified on.
|
String |
source()
Get the source property: Traffic source.
|
void |
validate()
Validates the instance.
|
NetworkConfigurationDiagnosticProfile |
withDestination(String destination)
Set the destination property: Traffic destination.
|
NetworkConfigurationDiagnosticProfile |
withDestinationPort(String destinationPort)
Set the destinationPort property: Traffic destination port.
|
NetworkConfigurationDiagnosticProfile |
withDirection(Direction direction)
Set the direction property: The direction of the traffic.
|
NetworkConfigurationDiagnosticProfile |
withProtocol(String protocol)
Set the protocol property: Protocol to be verified on.
|
NetworkConfigurationDiagnosticProfile |
withSource(String source)
Set the source property: Traffic source.
|
public NetworkConfigurationDiagnosticProfile()
public Direction direction()
public NetworkConfigurationDiagnosticProfile withDirection(Direction direction)
direction - the direction value to set.public String protocol()
public NetworkConfigurationDiagnosticProfile withProtocol(String protocol)
protocol - the protocol value to set.public String source()
public NetworkConfigurationDiagnosticProfile withSource(String source)
source - the source value to set.public String destination()
public NetworkConfigurationDiagnosticProfile withDestination(String destination)
destination - the destination value to set.public String destinationPort()
public NetworkConfigurationDiagnosticProfile withDestinationPort(String destinationPort)
destinationPort - the destinationPort value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.