
com.threatconnect.sdk.client.fluent.CommunityBuilder 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.Community;
public class CommunityBuilder
{
private Integer id;
private String name;
private String type;
public CommunityBuilder withId(Integer id)
{
this.id = id;
return this;
}
public CommunityBuilder withName(String name)
{
this.name = name;
return this;
}
public CommunityBuilder withType(String type)
{
this.type = type;
return this;
}
public Community createCommunity()
{
return new Community(id, name, type);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy