Class BatchGetContentResponse.Data.MessageEmailContent.Builder
-
- All Implemented Interfaces:
public final class BatchGetContentResponse.Data.MessageEmailContent.BuilderA builder for MessageEmailContent.
-
-
Method Summary
-
-
Method Detail
-
from
final BatchGetContentResponse.Data.MessageEmailContent.Builder from(String from)
The sender's email address.
-
from
final BatchGetContentResponse.Data.MessageEmailContent.Builder from(JsonField<String> from)
Sets Builder.from to an arbitrary JSON value.
You should usually call Builder.from with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
_typename
final BatchGetContentResponse.Data.MessageEmailContent.Builder _typename(String _typename)
The typename of the schema.
-
_typename
final BatchGetContentResponse.Data.MessageEmailContent.Builder _typename(JsonField<String> _typename)
Sets Builder._typename to an arbitrary JSON value.
You should usually call Builder._typename with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
htmlBody
final BatchGetContentResponse.Data.MessageEmailContent.Builder htmlBody(String htmlBody)
The HTML body of the email message.
-
htmlBody
final BatchGetContentResponse.Data.MessageEmailContent.Builder htmlBody(JsonField<String> htmlBody)
Sets Builder.htmlBody to an arbitrary JSON value.
You should usually call Builder.htmlBody with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
subjectLine
final BatchGetContentResponse.Data.MessageEmailContent.Builder subjectLine(String subjectLine)
The subject line of the email message.
-
subjectLine
final BatchGetContentResponse.Data.MessageEmailContent.Builder subjectLine(JsonField<String> subjectLine)
Sets Builder.subjectLine to an arbitrary JSON value.
You should usually call Builder.subjectLine with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
textBody
final BatchGetContentResponse.Data.MessageEmailContent.Builder textBody(String textBody)
The text body of the email message.
-
textBody
final BatchGetContentResponse.Data.MessageEmailContent.Builder textBody(JsonField<String> textBody)
Sets Builder.textBody to an arbitrary JSON value.
You should usually call Builder.textBody with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
to
final BatchGetContentResponse.Data.MessageEmailContent.Builder to(String to)
The recipient's email address.
-
to
final BatchGetContentResponse.Data.MessageEmailContent.Builder to(JsonField<String> to)
Sets Builder.to to an arbitrary JSON value.
You should usually call Builder.to with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
bcc
final BatchGetContentResponse.Data.MessageEmailContent.Builder bcc(String bcc)
The BCC email addresses.
-
bcc
final BatchGetContentResponse.Data.MessageEmailContent.Builder bcc(Optional<String> bcc)
Alias for calling Builder.bcc with
bcc.orElse(null).
-
bcc
final BatchGetContentResponse.Data.MessageEmailContent.Builder bcc(JsonField<String> bcc)
Sets Builder.bcc to an arbitrary JSON value.
You should usually call Builder.bcc with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
cc
final BatchGetContentResponse.Data.MessageEmailContent.Builder cc(String cc)
The CC email addresses.
-
cc
final BatchGetContentResponse.Data.MessageEmailContent.Builder cc(Optional<String> cc)
Alias for calling Builder.cc with
cc.orElse(null).
-
cc
final BatchGetContentResponse.Data.MessageEmailContent.Builder cc(JsonField<String> cc)
Sets Builder.cc to an arbitrary JSON value.
You should usually call Builder.cc with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
replyTo
final BatchGetContentResponse.Data.MessageEmailContent.Builder replyTo(String replyTo)
The reply-to email address.
-
replyTo
final BatchGetContentResponse.Data.MessageEmailContent.Builder replyTo(Optional<String> replyTo)
Alias for calling Builder.replyTo with
replyTo.orElse(null).
-
replyTo
final BatchGetContentResponse.Data.MessageEmailContent.Builder replyTo(JsonField<String> replyTo)
Sets Builder.replyTo to an arbitrary JSON value.
You should usually call Builder.replyTo with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BatchGetContentResponse.Data.MessageEmailContent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BatchGetContentResponse.Data.MessageEmailContent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BatchGetContentResponse.Data.MessageEmailContent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BatchGetContentResponse.Data.MessageEmailContent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BatchGetContentResponse.Data.MessageEmailContent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BatchGetContentResponse.Data.MessageEmailContent build()
Returns an immutable instance of MessageEmailContent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
._typename() .from() .htmlBody() .subjectLine() .textBody() .to()
-
-
-
-