TelemetryProperties.java

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.spring.telemetry;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Telemetry configuration's properties.
 */
@ConfigurationProperties("telemetry")
public class TelemetryProperties {

    private String instrumentationKey;

    public String getInstrumentationKey() {
        return instrumentationKey;
    }

    public void setInstrumentationKey(String instrumentationKey) {
        this.instrumentationKey = instrumentationKey;
    }
}