
com.threatconnect.sdk.client.fluent.SourceBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
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