// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.network.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Details of UnprepareNetworkPolicies for Subnet. */
@Fluent
public final class UnprepareNetworkPoliciesRequest {
    /*
     * The name of the service for which subnet is being unprepared for.
     */
    @JsonProperty(value = "serviceName")
    private String serviceName;

    /** Creates an instance of UnprepareNetworkPoliciesRequest class. */
    public UnprepareNetworkPoliciesRequest() {
    }

    /**
     * Get the serviceName property: The name of the service for which subnet is being unprepared for.
     *
     * @return the serviceName value.
     */
    public String serviceName() {
        return this.serviceName;
    }

    /**
     * Set the serviceName property: The name of the service for which subnet is being unprepared for.
     *
     * @param serviceName the serviceName value to set.
     * @return the UnprepareNetworkPoliciesRequest object itself.
     */
    public UnprepareNetworkPoliciesRequest withServiceName(String serviceName) {
        this.serviceName = serviceName;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
