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

package com.azure.resourcemanager.security.models;

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

/** The TopologySingleResourceChild model. */
@Immutable
public final class TopologySingleResourceChild {
    /*
     * Azure resource id which serves as child resource in topology view
     */
    @JsonProperty(value = "resourceId", access = JsonProperty.Access.WRITE_ONLY)
    private String resourceId;

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

    /**
     * Get the resourceId property: Azure resource id which serves as child resource in topology view.
     *
     * @return the resourceId value.
     */
    public String resourceId() {
        return this.resourceId;
    }

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