Class Note.Contact.Builder
- java.lang.Object
-
- com.intercom.api.resources.notes.types.Note.Contact.Builder
-
- Enclosing class:
- Note.Contact
public static final class Note.Contact.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Note.Contactbuild()Note.Contact.Builderfrom(Note.Contact other)Note.Contact.Builderid(java.lang.String id)Note.Contact.Builderid(java.util.Optional<java.lang.String> id)The id of the contact.Note.Contact.Buildertype(java.lang.String type)Note.Contact.Buildertype(java.util.Optional<java.lang.String> type)String representing the object's type.
-
-
-
Method Detail
-
from
public Note.Contact.Builder from(Note.Contact other)
-
type
public Note.Contact.Builder type(java.util.Optional<java.lang.String> type)
String representing the object's type. Always has the value
contact.
-
type
public Note.Contact.Builder type(java.lang.String type)
-
id
public Note.Contact.Builder id(java.util.Optional<java.lang.String> id)
The id of the contact.
-
id
public Note.Contact.Builder id(java.lang.String id)
-
build
public Note.Contact build()
-
-