
com.threatconnect.sdk.client.fluent.SecurityLabelBuilder 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.SecurityLabel;
import java.util.Date;
public class SecurityLabelBuilder
{
private String name;
private String description;
private Date dateAdded;
public SecurityLabelBuilder withName(String name)
{
this.name = name;
return this;
}
public SecurityLabelBuilder withDescription(String description)
{
this.description = description;
return this;
}
public SecurityLabelBuilder withDateAdded(Date dateAdded)
{
this.dateAdded = dateAdded;
return this;
}
public SecurityLabel createSecurityLabel()
{
return new SecurityLabel(name, description, dateAdded);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy