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

package com.azure.analytics.synapse.artifacts.models;

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

/** The role based access control (RBAC) authorization type integration runtime. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "authorizationType")
@JsonTypeName("RBAC")
@Fluent
public final class LinkedIntegrationRuntimeRbacAuthorization extends LinkedIntegrationRuntimeType {
    /*
     * The resource identifier of the integration runtime to be shared.
     */
    @JsonProperty(value = "resourceId", required = true)
    private String resourceId;

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

    /**
     * Get the resourceId property: The resource identifier of the integration runtime to be shared.
     *
     * @return the resourceId value.
     */
    public String getResourceId() {
        return this.resourceId;
    }

    /**
     * Set the resourceId property: The resource identifier of the integration runtime to be shared.
     *
     * @param resourceId the resourceId value to set.
     * @return the LinkedIntegrationRuntimeRbacAuthorization object itself.
     */
    public LinkedIntegrationRuntimeRbacAuthorization setResourceId(String resourceId) {
        this.resourceId = resourceId;
        return this;
    }
}
