Class NetworkIntentPolicyConfiguration


  • public final class NetworkIntentPolicyConfiguration
    extends Object
    Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest.
    • Constructor Detail

      • NetworkIntentPolicyConfiguration

        public NetworkIntentPolicyConfiguration()
    • 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.