public Attachment withName(String value) { setName(value); return this; }
public Attachment withName(String value) { setName(value); return this; }
/** * @deprecated use set method */ @Deprecated public Attachment withName(final String value) { return setName(value); }
.setName(isEmpty(name) ? null : name) .setType(isEmpty(type) ? null : type) .setSource(source);