SchemaId.java

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

package com.azure.data.schemaregistry.implementation.models;

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

/** Object received from the registry containing schema identifiers. */
@Fluent
public final class SchemaId {
    /*
     * Schema ID that uniquely identifies a schema in the registry namespace.
     */
    @JsonProperty(value = "id")
    private String id;

    /**
     * Get the id property: Schema ID that uniquely identifies a schema in the registry namespace.
     *
     * @return the id value.
     */
    public String getId() {
        return this.id;
    }

    /**
     * Set the id property: Schema ID that uniquely identifies a schema in the registry namespace.
     *
     * @param id the id value to set.
     * @return the SchemaId object itself.
     */
    public SchemaId setId(String id) {
        this.id = id;
        return this;
    }
}