All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.search.fluent.models.PrivateLinkResourceInner Maven / Gradle / Ivy

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

package com.azure.resourcemanager.search.fluent.models;

import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.resourcemanager.search.models.PrivateLinkResourceProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Describes a supported private link resource for the search service. */
@Immutable
public final class PrivateLinkResourceInner extends ProxyResource {
    /*
     * Describes the properties of a supported private link resource for the search service.
     */
    @JsonProperty(value = "properties", access = JsonProperty.Access.WRITE_ONLY)
    private PrivateLinkResourceProperties properties;

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

    /**
     * Get the properties property: Describes the properties of a supported private link resource for the search
     * service.
     *
     * @return the properties value.
     */
    public PrivateLinkResourceProperties properties() {
        return this.properties;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy