public class MapiContactDtoBuilder extends Object
Constructor and Description |
---|
MapiContactDtoBuilder(MapiContactDto model) |
Modifier and Type | Method and Description |
---|---|
MapiContactDtoBuilder |
attachments(List<MapiAttachmentDto> attachments)
Set MapiContactDto.attachments and return builder.
|
MapiContactDtoBuilder |
billing(String billing)
Set MapiContactDto.billing and return builder.
|
MapiContactDtoBuilder |
body(String body)
Set MapiContactDto.body and return builder.
|
MapiContactDtoBuilder |
bodyHtml(String bodyHtml)
Set MapiContactDto.bodyHtml and return builder.
|
MapiContactDtoBuilder |
bodyRtf(String bodyRtf)
Set MapiContactDto.bodyRtf and return builder.
|
MapiContactDtoBuilder |
bodyType(String bodyType)
Set MapiContactDto.bodyType and return builder.
|
MapiContactDto |
build()
Build MapiContactDto instance.
|
MapiContactDtoBuilder |
categories(List<String> categories)
Set MapiContactDto.categories and return builder.
|
MapiContactDtoBuilder |
companies(List<String> companies)
Set MapiContactDto.companies and return builder.
|
MapiContactDtoBuilder |
electronicAddresses(MapiContactElectronicAddressPropertySetDto electronicAddresses)
Set MapiContactDto.electronicAddresses and return builder.
|
MapiContactDtoBuilder |
events(MapiContactEventPropertySetDto events)
Set MapiContactDto.events and return builder.
|
MapiContactDtoBuilder |
itemId(String itemId)
Set MapiContactDto.itemId and return builder.
|
MapiContactDtoBuilder |
messageClass(String messageClass)
Set MapiContactDto.messageClass and return builder.
|
MapiContactDtoBuilder |
mileage(String mileage)
Set MapiContactDto.mileage and return builder.
|
MapiContactDtoBuilder |
nameInfo(MapiContactNamePropertySetDto nameInfo)
Set MapiContactDto.nameInfo and return builder.
|
MapiContactDtoBuilder |
otherFields(MapiContactOtherPropertySetDto otherFields)
Set MapiContactDto.otherFields and return builder.
|
MapiContactDtoBuilder |
personalInfo(MapiContactPersonalInfoPropertySetDto personalInfo)
Set MapiContactDto.personalInfo and return builder.
|
MapiContactDtoBuilder |
photo(MapiContactPhotoDto photo)
Set MapiContactDto.photo and return builder.
|
MapiContactDtoBuilder |
physicalAddresses(MapiContactPhysicalAddressPropertySetDto physicalAddresses)
Set MapiContactDto.physicalAddresses and return builder.
|
MapiContactDtoBuilder |
professionalInfo(MapiContactProfessionalPropertySetDto professionalInfo)
Set MapiContactDto.professionalInfo and return builder.
|
MapiContactDtoBuilder |
properties(List<MapiPropertyDto> properties)
Set MapiContactDto.properties and return builder.
|
MapiContactDtoBuilder |
recipients(List<MapiRecipientDto> recipients)
Set MapiContactDto.recipients and return builder.
|
MapiContactDtoBuilder |
sensitivity(String sensitivity)
Set MapiContactDto.sensitivity and return builder.
|
MapiContactDtoBuilder |
subject(String subject)
Set MapiContactDto.subject and return builder.
|
MapiContactDtoBuilder |
subjectPrefix(String subjectPrefix)
Set MapiContactDto.subjectPrefix and return builder.
|
MapiContactDtoBuilder |
telephones(MapiContactTelephonePropertySetDto telephones)
Set MapiContactDto.telephones and return builder.
|
public MapiContactDtoBuilder(MapiContactDto model)
public MapiContactDto build()
public MapiContactDtoBuilder attachments(List<MapiAttachmentDto> attachments)
attachments
- Message item attachments.public MapiContactDtoBuilder billing(String billing)
billing
- Billing information associated with an item.public MapiContactDtoBuilder body(String body)
body
- Message text.public MapiContactDtoBuilder bodyHtml(String bodyHtml)
bodyHtml
- Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.public MapiContactDtoBuilder bodyRtf(String bodyRtf)
bodyRtf
- RTF formatted message text.public MapiContactDtoBuilder bodyType(String bodyType)
bodyType
- The content type of message body. Enum, available values: PlainText, Html, Rtfpublic MapiContactDtoBuilder categories(List<String> categories)
categories
- Contains keywords or categories for the message object.public MapiContactDtoBuilder companies(List<String> companies)
companies
- Contains the names of the companies that are associated with an item.public MapiContactDtoBuilder itemId(String itemId)
itemId
- The item id, uses with a server.public MapiContactDtoBuilder messageClass(String messageClass)
messageClass
- Case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message.public MapiContactDtoBuilder mileage(String mileage)
mileage
- Contains the mileage information that is associated with an item.public MapiContactDtoBuilder recipients(List<MapiRecipientDto> recipients)
recipients
- Recipients of the message.public MapiContactDtoBuilder sensitivity(String sensitivity)
sensitivity
- Contains values that indicate the message sensitivity. Enum, available values: None, Personal, Private, CompanyConfidentialpublic MapiContactDtoBuilder subject(String subject)
subject
- Subject of the message.public MapiContactDtoBuilder subjectPrefix(String subjectPrefix)
subjectPrefix
- Subject prefix that typically indicates some action on a message, such as \"FW: \" for forwarding.public MapiContactDtoBuilder properties(List<MapiPropertyDto> properties)
properties
- List of MAPI propertiespublic MapiContactDtoBuilder electronicAddresses(MapiContactElectronicAddressPropertySetDto electronicAddresses)
electronicAddresses
- Specify properties for up to three different e-mail addresses and three different fax addresses.public MapiContactDtoBuilder events(MapiContactEventPropertySetDto events)
events
- Specify events associated with a contact.public MapiContactDtoBuilder nameInfo(MapiContactNamePropertySetDto nameInfo)
nameInfo
- The properties are used to specify the name of the person represented by the contact.public MapiContactDtoBuilder otherFields(MapiContactOtherPropertySetDto otherFields)
otherFields
- Specify other fields of contact.public MapiContactDtoBuilder personalInfo(MapiContactPersonalInfoPropertySetDto personalInfo)
personalInfo
- Specify other additional contact information.public MapiContactDtoBuilder photo(MapiContactPhotoDto photo)
photo
- Contact photo.public MapiContactDtoBuilder physicalAddresses(MapiContactPhysicalAddressPropertySetDto physicalAddresses)
physicalAddresses
- Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address.public MapiContactDtoBuilder professionalInfo(MapiContactProfessionalPropertySetDto professionalInfo)
professionalInfo
- Properties are used to store professional details for the person represented by the contact.public MapiContactDtoBuilder telephones(MapiContactTelephonePropertySetDto telephones)
telephones
- Specify telephone numbers for the contact.Copyright © 2020. All rights reserved.