// 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.fluent.models;

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

/** The information of an AutoApprovedPrivateLinkService. */
@Fluent
public final class AutoApprovedPrivateLinkServiceInner {
    /*
     * The id of the private link service resource.
     */
    @JsonProperty(value = "privateLinkService")
    private String privateLinkService;

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

    /**
     * Get the privateLinkService property: The id of the private link service resource.
     *
     * @return the privateLinkService value.
     */
    public String privateLinkService() {
        return this.privateLinkService;
    }

    /**
     * Set the privateLinkService property: The id of the private link service resource.
     *
     * @param privateLinkService the privateLinkService value to set.
     * @return the AutoApprovedPrivateLinkServiceInner object itself.
     */
    public AutoApprovedPrivateLinkServiceInner withPrivateLinkService(String privateLinkService) {
        this.privateLinkService = privateLinkService;
        return this;
    }

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