Class UnprepareNetworkPoliciesRequest

java.lang.Object
com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesRequest

public final class UnprepareNetworkPoliciesRequest extends Object
Details of UnprepareNetworkPolicies for Subnet.
  • Constructor Details

    • UnprepareNetworkPoliciesRequest

      public UnprepareNetworkPoliciesRequest()
      Creates an instance of UnprepareNetworkPoliciesRequest class.
  • Method Details

    • serviceName

      public String serviceName()
      Get the serviceName property: The name of the service for which subnet is being unprepared for.
      Returns:
      the serviceName value.
    • withServiceName

      public UnprepareNetworkPoliciesRequest withServiceName(String serviceName)
      Set the serviceName property: The name of the service for which subnet is being unprepared for.
      Parameters:
      serviceName - the serviceName value to set.
      Returns:
      the UnprepareNetworkPoliciesRequest object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.