public final class NetworkIntentPolicyConfiguration extends Object
| Constructor and Description |
|---|
NetworkIntentPolicyConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
networkIntentPolicyName()
Get the networkIntentPolicyName property: The name of the Network Intent Policy for storing in target
subscription.
|
NetworkIntentPolicy |
sourceNetworkIntentPolicy()
Get the sourceNetworkIntentPolicy property: Source network intent policy.
|
void |
validate()
Validates the instance.
|
NetworkIntentPolicyConfiguration |
withNetworkIntentPolicyName(String networkIntentPolicyName)
Set the networkIntentPolicyName property: The name of the Network Intent Policy for storing in target
subscription.
|
NetworkIntentPolicyConfiguration |
withSourceNetworkIntentPolicy(NetworkIntentPolicy sourceNetworkIntentPolicy)
Set the sourceNetworkIntentPolicy property: Source network intent policy.
|
public String networkIntentPolicyName()
public NetworkIntentPolicyConfiguration withNetworkIntentPolicyName(String networkIntentPolicyName)
networkIntentPolicyName - the networkIntentPolicyName value to set.public NetworkIntentPolicy sourceNetworkIntentPolicy()
public NetworkIntentPolicyConfiguration withSourceNetworkIntentPolicy(NetworkIntentPolicy sourceNetworkIntentPolicy)
sourceNetworkIntentPolicy - the sourceNetworkIntentPolicy value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.