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

com.threatconnect.sdk.client.fluent.VictimPhoneBuilder 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.VictimPhone;

public class VictimPhoneBuilder
{
    private Integer id;
    private String name;
    private String type;
    private String webLink;
    private String phoneType;

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

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

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

    public VictimPhoneBuilder withWebLink(String webLink)
    {
        this.webLink = webLink;
        return this;
    }

    public VictimPhoneBuilder withPhoneType(String phoneType)
    {
        this.phoneType = phoneType;
        return this;
    }

    public VictimPhone createVictimPhone()
    {
        return new VictimPhone(id, name, type, webLink, phoneType);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy