AutoApprovedPrivateLinkServiceInner.java

// 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.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The information of an AutoApprovedPrivateLinkService. */
@Fluent
public final class AutoApprovedPrivateLinkServiceInner {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(AutoApprovedPrivateLinkServiceInner.class);

    /*
     * The id of the private link service resource.
     */
    @JsonProperty(value = "privateLinkService")
    private String privateLinkService;

    /**
     * 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() {
    }
}