Class BrandSettingsEmail.TemplateOverride.Builder
-
- All Implemented Interfaces:
public final class BrandSettingsEmail.TemplateOverride.BuilderA builder for TemplateOverride.
-
-
Method Summary
-
-
Method Detail
-
enabled
final BrandSettingsEmail.TemplateOverride.Builder enabled(Boolean enabled)
-
enabled
final BrandSettingsEmail.TemplateOverride.Builder enabled(JsonField<Boolean> enabled)
Sets Builder.enabled to an arbitrary JSON value.
You should usually call Builder.enabled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
backgroundColor
final BrandSettingsEmail.TemplateOverride.Builder backgroundColor(String backgroundColor)
-
backgroundColor
final BrandSettingsEmail.TemplateOverride.Builder backgroundColor(Optional<String> backgroundColor)
Alias for calling Builder.backgroundColor with
backgroundColor.orElse(null).
-
backgroundColor
final BrandSettingsEmail.TemplateOverride.Builder backgroundColor(JsonField<String> backgroundColor)
Sets Builder.backgroundColor to an arbitrary JSON value.
You should usually call Builder.backgroundColor with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
blocksBackgroundColor
final BrandSettingsEmail.TemplateOverride.Builder blocksBackgroundColor(String blocksBackgroundColor)
-
blocksBackgroundColor
final BrandSettingsEmail.TemplateOverride.Builder blocksBackgroundColor(Optional<String> blocksBackgroundColor)
Alias for calling Builder.blocksBackgroundColor with
blocksBackgroundColor.orElse(null).
-
blocksBackgroundColor
final BrandSettingsEmail.TemplateOverride.Builder blocksBackgroundColor(JsonField<String> blocksBackgroundColor)
Sets Builder.blocksBackgroundColor to an arbitrary JSON value.
You should usually call Builder.blocksBackgroundColor with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
footer
final BrandSettingsEmail.TemplateOverride.Builder footer(String footer)
-
footer
final BrandSettingsEmail.TemplateOverride.Builder footer(Optional<String> footer)
Alias for calling Builder.footer with
footer.orElse(null).
-
footer
final BrandSettingsEmail.TemplateOverride.Builder footer(JsonField<String> footer)
Sets Builder.footer to an arbitrary JSON value.
You should usually call Builder.footer with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
head
final BrandSettingsEmail.TemplateOverride.Builder head(String head)
-
head
final BrandSettingsEmail.TemplateOverride.Builder head(Optional<String> head)
Alias for calling Builder.head with
head.orElse(null).
-
head
final BrandSettingsEmail.TemplateOverride.Builder head(JsonField<String> head)
Sets Builder.head to an arbitrary JSON value.
You should usually call Builder.head with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
header
final BrandSettingsEmail.TemplateOverride.Builder header(String header)
-
header
final BrandSettingsEmail.TemplateOverride.Builder header(Optional<String> header)
Alias for calling Builder.header with
header.orElse(null).
-
header
final BrandSettingsEmail.TemplateOverride.Builder header(JsonField<String> header)
Sets Builder.header to an arbitrary JSON value.
You should usually call Builder.header with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
width
final BrandSettingsEmail.TemplateOverride.Builder width(String width)
-
width
final BrandSettingsEmail.TemplateOverride.Builder width(Optional<String> width)
Alias for calling Builder.width with
width.orElse(null).
-
width
final BrandSettingsEmail.TemplateOverride.Builder width(JsonField<String> width)
Sets Builder.width to an arbitrary JSON value.
You should usually call Builder.width with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mjml
final BrandSettingsEmail.TemplateOverride.Builder mjml(BrandTemplate mjml)
-
mjml
final BrandSettingsEmail.TemplateOverride.Builder mjml(JsonField<BrandTemplate> mjml)
Sets Builder.mjml to an arbitrary JSON value.
You should usually call Builder.mjml with a well-typed BrandTemplate value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
footerBackgroundColor
final BrandSettingsEmail.TemplateOverride.Builder footerBackgroundColor(String footerBackgroundColor)
-
footerBackgroundColor
final BrandSettingsEmail.TemplateOverride.Builder footerBackgroundColor(Optional<String> footerBackgroundColor)
Alias for calling Builder.footerBackgroundColor with
footerBackgroundColor.orElse(null).
-
footerBackgroundColor
final BrandSettingsEmail.TemplateOverride.Builder footerBackgroundColor(JsonField<String> footerBackgroundColor)
Sets Builder.footerBackgroundColor to an arbitrary JSON value.
You should usually call Builder.footerBackgroundColor with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
footerFullWidth
final BrandSettingsEmail.TemplateOverride.Builder footerFullWidth(Boolean footerFullWidth)
-
footerFullWidth
final BrandSettingsEmail.TemplateOverride.Builder footerFullWidth(Boolean footerFullWidth)
Alias for Builder.footerFullWidth.
This unboxed primitive overload exists for backwards compatibility.
-
footerFullWidth
final BrandSettingsEmail.TemplateOverride.Builder footerFullWidth(Optional<Boolean> footerFullWidth)
Alias for calling Builder.footerFullWidth with
footerFullWidth.orElse(null).
-
footerFullWidth
final BrandSettingsEmail.TemplateOverride.Builder footerFullWidth(JsonField<Boolean> footerFullWidth)
Sets Builder.footerFullWidth to an arbitrary JSON value.
You should usually call Builder.footerFullWidth with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BrandSettingsEmail.TemplateOverride.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BrandSettingsEmail.TemplateOverride.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BrandSettingsEmail.TemplateOverride.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BrandSettingsEmail.TemplateOverride.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BrandSettingsEmail.TemplateOverride.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BrandSettingsEmail.TemplateOverride build()
Returns an immutable instance of TemplateOverride.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.enabled() .mjml()
-
-
-
-