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

package com.azure.resourcemanager.securityinsights.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.UUID;

/** The PlaybookActionProperties model. */
@Fluent
public final class PlaybookActionProperties {
    /*
     * The resource id of the playbook resource.
     */
    @JsonProperty(value = "logicAppResourceId")
    private String logicAppResourceId;

    /*
     * The tenant id of the playbook resource.
     */
    @JsonProperty(value = "tenantId")
    private UUID tenantId;

    /**
     * Get the logicAppResourceId property: The resource id of the playbook resource.
     *
     * @return the logicAppResourceId value.
     */
    public String logicAppResourceId() {
        return this.logicAppResourceId;
    }

    /**
     * Set the logicAppResourceId property: The resource id of the playbook resource.
     *
     * @param logicAppResourceId the logicAppResourceId value to set.
     * @return the PlaybookActionProperties object itself.
     */
    public PlaybookActionProperties withLogicAppResourceId(String logicAppResourceId) {
        this.logicAppResourceId = logicAppResourceId;
        return this;
    }

    /**
     * Get the tenantId property: The tenant id of the playbook resource.
     *
     * @return the tenantId value.
     */
    public UUID tenantId() {
        return this.tenantId;
    }

    /**
     * Set the tenantId property: The tenant id of the playbook resource.
     *
     * @param tenantId the tenantId value to set.
     * @return the PlaybookActionProperties object itself.
     */
    public PlaybookActionProperties withTenantId(UUID tenantId) {
        this.tenantId = tenantId;
        return this;
    }

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