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

package com.azure.resourcemanager.paloaltonetworks.ngfw.models;

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

/** Associated rulestack details. */
@Fluent
public final class RulestackDetails {
    /*
     * Resource Id
     */
    @JsonProperty(value = "resourceId")
    private String resourceId;

    /*
     * Associated rulestack Id
     */
    @JsonProperty(value = "rulestackId")
    private String rulestackId;

    /*
     * Rulestack location
     */
    @JsonProperty(value = "location")
    private String location;

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

    /**
     * Get the resourceId property: Resource Id.
     *
     * @return the resourceId value.
     */
    public String resourceId() {
        return this.resourceId;
    }

    /**
     * Set the resourceId property: Resource Id.
     *
     * @param resourceId the resourceId value to set.
     * @return the RulestackDetails object itself.
     */
    public RulestackDetails withResourceId(String resourceId) {
        this.resourceId = resourceId;
        return this;
    }

    /**
     * Get the rulestackId property: Associated rulestack Id.
     *
     * @return the rulestackId value.
     */
    public String rulestackId() {
        return this.rulestackId;
    }

    /**
     * Set the rulestackId property: Associated rulestack Id.
     *
     * @param rulestackId the rulestackId value to set.
     * @return the RulestackDetails object itself.
     */
    public RulestackDetails withRulestackId(String rulestackId) {
        this.rulestackId = rulestackId;
        return this;
    }

    /**
     * Get the location property: Rulestack location.
     *
     * @return the location value.
     */
    public String location() {
        return this.location;
    }

    /**
     * Set the location property: Rulestack location.
     *
     * @param location the location value to set.
     * @return the RulestackDetails object itself.
     */
    public RulestackDetails withLocation(String location) {
        this.location = location;
        return this;
    }

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