// 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.models;

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

/** Information about the partner. */
@Fluent
public final class PartnerDetails {
    /*
     * This is short description about the partner. The length of this description should not exceed 256 characters.
     */
    @JsonProperty(value = "description")
    private String description;

    /*
     * Long description for the partner's scenarios and integration.Length of this description should not exceed 2048
     * characters.
     */
    @JsonProperty(value = "longDescription")
    private String longDescription;

    /*
     * URI of the partner website that can be used by Azure customers to setup Event Grid
     * integration on an event source.
     */
    @JsonProperty(value = "setupUri")
    private String setupUri;

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

    /**
     * Get the description property: This is short description about the partner. The length of this description should
     * not exceed 256 characters.
     *
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Set the description property: This is short description about the partner. The length of this description should
     * not exceed 256 characters.
     *
     * @param description the description value to set.
     * @return the PartnerDetails object itself.
     */
    public PartnerDetails withDescription(String description) {
        this.description = description;
        return this;
    }

    /**
     * Get the longDescription property: Long description for the partner's scenarios and integration.Length of this
     * description should not exceed 2048 characters.
     *
     * @return the longDescription value.
     */
    public String longDescription() {
        return this.longDescription;
    }

    /**
     * Set the longDescription property: Long description for the partner's scenarios and integration.Length of this
     * description should not exceed 2048 characters.
     *
     * @param longDescription the longDescription value to set.
     * @return the PartnerDetails object itself.
     */
    public PartnerDetails withLongDescription(String longDescription) {
        this.longDescription = longDescription;
        return this;
    }

    /**
     * Get the setupUri property: URI of the partner website that can be used by Azure customers to setup Event Grid
     * integration on an event source.
     *
     * @return the setupUri value.
     */
    public String setupUri() {
        return this.setupUri;
    }

    /**
     * Set the setupUri property: URI of the partner website that can be used by Azure customers to setup Event Grid
     * integration on an event source.
     *
     * @param setupUri the setupUri value to set.
     * @return the PartnerDetails object itself.
     */
    public PartnerDetails withSetupUri(String setupUri) {
        this.setupUri = setupUri;
        return this;
    }

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