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

com.threatconnect.sdk.client.fluent.SourceBuilder Maven / Gradle / Ivy

Go to download

The ThreatConnect Java SDK. Used to communicate with teh ThreatConnect Threat Intelligence Platform

The newest version!
package com.threatconnect.sdk.client.fluent;

import com.threatconnect.sdk.server.entity.Source;

public class SourceBuilder
{
    private Integer id;
    private String name;
    private String type;

    public SourceBuilder withId(Integer id)
    {
        this.id = id;
        return this;
    }

    public SourceBuilder withName(String name)
    {
        this.name = name;
        return this;
    }

    public SourceBuilder withType(String type)
    {
        this.type = type;
        return this;
    }

    public Source createSource()
    {
        return new Source(id, name, type);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy