Class UnprepareNetworkPoliciesRequest
java.lang.Object
com.azure.resourcemanager.network.models.UnprepareNetworkPoliciesRequest
Details of UnprepareNetworkPolicies for Subnet.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of UnprepareNetworkPoliciesRequest class. -
Method Summary
Modifier and TypeMethodDescriptionGet the serviceName property: The name of the service for which subnet is being unprepared for.voidvalidate()Validates the instance.withServiceName(String serviceName) Set the serviceName property: The name of the service for which subnet is being unprepared for.
-
Constructor Details
-
UnprepareNetworkPoliciesRequest
public UnprepareNetworkPoliciesRequest()Creates an instance of UnprepareNetworkPoliciesRequest class.
-
-
Method Details
-
serviceName
Get the serviceName property: The name of the service for which subnet is being unprepared for.- Returns:
- the serviceName value.
-
withServiceName
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.
-