// 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;

/** Request body of the CheckPrivateLinkServiceVisibility API service call. */
@Fluent
public final class CheckPrivateLinkServiceVisibilityRequest {
    /*
     * The alias of the private link service.
     */
    @JsonProperty(value = "privateLinkServiceAlias")
    private String privateLinkServiceAlias;

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

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

    /**
     * Set the privateLinkServiceAlias property: The alias of the private link service.
     *
     * @param privateLinkServiceAlias the privateLinkServiceAlias value to set.
     * @return the CheckPrivateLinkServiceVisibilityRequest object itself.
     */
    public CheckPrivateLinkServiceVisibilityRequest withPrivateLinkServiceAlias(String privateLinkServiceAlias) {
        this.privateLinkServiceAlias = privateLinkServiceAlias;
        return this;
    }

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