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

it.auties.whatsapp.model.sync.PushNameBuilder Maven / Gradle / Ivy

package it.auties.whatsapp.model.sync;

public class PushNameBuilder {
    private java.lang.String id;
    private java.util.Optional name;

    public PushNameBuilder() {
        id = null;
        name = java.util.Optional.empty();
    }

    public PushNameBuilder id(java.lang.String id) {
        this.id = id;
        return this;
    }
    public PushNameBuilder name(java.util.Optional name) {
        this.name = name;
        return this;
    }
    public PushNameBuilder name(java.lang.String name) {
        this.name = java.util.Optional.ofNullable(name);
        return this;
    }

    public it.auties.whatsapp.model.sync.PushName build() {
        return new it.auties.whatsapp.model.sync.PushName(id, name);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy