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

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

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

/** The PartnerEventSubscriptionDestinationProperties model. */
@Fluent
public final class PartnerEventSubscriptionDestinationProperties {
    /*
     * The Azure Resource Id that represents the endpoint of a Partner Destination of an event subscription.
     */
    @JsonProperty(value = "resourceId")
    private String resourceId;

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

    /**
     * Get the resourceId property: The Azure Resource Id that represents the endpoint of a Partner Destination of an
     * event subscription.
     *
     * @return the resourceId value.
     */
    public String resourceId() {
        return this.resourceId;
    }

    /**
     * Set the resourceId property: The Azure Resource Id that represents the endpoint of a Partner Destination of an
     * event subscription.
     *
     * @param resourceId the resourceId value to set.
     * @return the PartnerEventSubscriptionDestinationProperties object itself.
     */
    public PartnerEventSubscriptionDestinationProperties withResourceId(String resourceId) {
        this.resourceId = resourceId;
        return this;
    }

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