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

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

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

/** The identifier information of community gallery. */
@Fluent
public final class CommunityGalleryIdentifier {
    /*
     * The unique id of this community gallery.
     */
    @JsonProperty(value = "uniqueId")
    private String uniqueId;

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

    /**
     * Get the uniqueId property: The unique id of this community gallery.
     *
     * @return the uniqueId value.
     */
    public String uniqueId() {
        return this.uniqueId;
    }

    /**
     * Set the uniqueId property: The unique id of this community gallery.
     *
     * @param uniqueId the uniqueId value to set.
     * @return the CommunityGalleryIdentifier object itself.
     */
    public CommunityGalleryIdentifier withUniqueId(String uniqueId) {
        this.uniqueId = uniqueId;
        return this;
    }

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