All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.mstream.trader.commons.config.model.DownstreamService Maven / Gradle / Ivy

package io.mstream.trader.commons.config.model;


import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class DownstreamService {

    private final BaseUrl url;
    private final String healthCheckPath;

    @JsonCreator
    public DownstreamService(
            @JsonProperty(value = "url", required = true) BaseUrl url,
            @JsonProperty(value = "healthCheckPath", required = true) String healthCheckPath) {
        this.url = url;
        this.healthCheckPath = healthCheckPath;
    }

    public BaseUrl getUrl() {
        return url;
    }

    public String getHealthCheckPath() {
        return healthCheckPath;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy