Class NetworkIntentPolicyConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.network.models.NetworkIntentPolicyConfiguration
-
public final class NetworkIntentPolicyConfiguration extends Object
Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest.
-
-
Constructor Summary
Constructors Constructor Description NetworkIntentPolicyConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnetworkIntentPolicyName()Get the networkIntentPolicyName property: The name of the Network Intent Policy for storing in target subscription.NetworkIntentPolicysourceNetworkIntentPolicy()Get the sourceNetworkIntentPolicy property: Source network intent policy.voidvalidate()Validates the instance.NetworkIntentPolicyConfigurationwithNetworkIntentPolicyName(String networkIntentPolicyName)Set the networkIntentPolicyName property: The name of the Network Intent Policy for storing in target subscription.NetworkIntentPolicyConfigurationwithSourceNetworkIntentPolicy(NetworkIntentPolicy sourceNetworkIntentPolicy)Set the sourceNetworkIntentPolicy property: Source network intent policy.
-
-
-
Method Detail
-
networkIntentPolicyName
public String networkIntentPolicyName()
Get the networkIntentPolicyName property: The name of the Network Intent Policy for storing in target subscription.- Returns:
- the networkIntentPolicyName value.
-
withNetworkIntentPolicyName
public NetworkIntentPolicyConfiguration withNetworkIntentPolicyName(String networkIntentPolicyName)
Set the networkIntentPolicyName property: The name of the Network Intent Policy for storing in target subscription.- Parameters:
networkIntentPolicyName- the networkIntentPolicyName value to set.- Returns:
- the NetworkIntentPolicyConfiguration object itself.
-
sourceNetworkIntentPolicy
public NetworkIntentPolicy sourceNetworkIntentPolicy()
Get the sourceNetworkIntentPolicy property: Source network intent policy.- Returns:
- the sourceNetworkIntentPolicy value.
-
withSourceNetworkIntentPolicy
public NetworkIntentPolicyConfiguration withSourceNetworkIntentPolicy(NetworkIntentPolicy sourceNetworkIntentPolicy)
Set the sourceNetworkIntentPolicy property: Source network intent policy.- Parameters:
sourceNetworkIntentPolicy- the sourceNetworkIntentPolicy value to set.- Returns:
- the NetworkIntentPolicyConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-