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

com.threatconnect.sdk.client.fluent.SecurityLabelBuilder 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.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