Class BetaBase64PdfBlock.Builder
-
- All Implemented Interfaces:
public final class BetaBase64PdfBlock.BuilderA builder for BetaBase64PdfBlock.
-
-
Method Summary
-
-
Method Detail
-
source
final BetaBase64PdfBlock.Builder source(BetaBase64PdfBlock.Source source)
-
source
final BetaBase64PdfBlock.Builder source(JsonField<BetaBase64PdfBlock.Source> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source with a well-typed Source value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
source
final BetaBase64PdfBlock.Builder source(BetaBase64PdfSource betaBase64Pdf)
Alias for calling source with
Source.ofBetaBase64Pdf(betaBase64Pdf).
-
source
final BetaBase64PdfBlock.Builder source(BetaPlainTextSource betaPlainText)
Alias for calling source with
Source.ofBetaPlainText(betaPlainText).
-
source
final BetaBase64PdfBlock.Builder source(BetaContentBlockSource betaContentBlock)
Alias for calling source with
Source.ofBetaContentBlock(betaContentBlock).
-
source
final BetaBase64PdfBlock.Builder source(BetaUrlPdfSource betaUrlPdf)
Alias for calling source with
Source.ofBetaUrlPdf(betaUrlPdf).
-
betaBase64PdfSource
final BetaBase64PdfBlock.Builder betaBase64PdfSource(String data)
Alias for calling source with the following:
BetaBase64PdfSource.builder() .data(data) .build()
-
betaPlainTextSource
final BetaBase64PdfBlock.Builder betaPlainTextSource(String data)
Alias for calling source with the following:
BetaPlainTextSource.builder() .data(data) .build()
-
betaContentBlockSource
final BetaBase64PdfBlock.Builder betaContentBlockSource(BetaContentBlockSource.Content content)
Alias for calling source with the following:
BetaContentBlockSource.builder() .content(content) .build()
-
betaContentBlockSource
final BetaBase64PdfBlock.Builder betaContentBlockSource(String string)
Alias for calling betaContentBlockSource with
BetaContentBlockSource.Content.ofString(string).
-
betaContentBlockSourceOfBetaContentBlockSource
final BetaBase64PdfBlock.Builder betaContentBlockSourceOfBetaContentBlockSource(List<BetaContentBlockSourceContent> betaContentBlockSource)
Alias for calling Builder.betaContentBlockSource with
BetaContentBlockSource.Content.ofBetaContentBlockSource(betaContentBlockSource).
-
betaUrlPdfSource
final BetaBase64PdfBlock.Builder betaUrlPdfSource(String url)
Alias for calling source with the following:
BetaUrlPdfSource.builder() .url(url) .build()
-
type
final BetaBase64PdfBlock.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("document")This method is primarily for setting the field to an undocumented or not yet supported value.
-
cacheControl
final BetaBase64PdfBlock.Builder cacheControl(BetaCacheControlEphemeral cacheControl)
Create a cache control breakpoint at this content block.
-
cacheControl
final BetaBase64PdfBlock.Builder cacheControl(Optional<BetaCacheControlEphemeral> cacheControl)
Alias for calling Builder.cacheControl with
cacheControl.orElse(null).
-
cacheControl
final BetaBase64PdfBlock.Builder cacheControl(JsonField<BetaCacheControlEphemeral> cacheControl)
Sets Builder.cacheControl to an arbitrary JSON value.
You should usually call Builder.cacheControl with a well-typed BetaCacheControlEphemeral value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
citations
final BetaBase64PdfBlock.Builder citations(BetaCitationsConfigParam citations)
-
citations
final BetaBase64PdfBlock.Builder citations(JsonField<BetaCitationsConfigParam> citations)
Sets Builder.citations to an arbitrary JSON value.
You should usually call Builder.citations with a well-typed BetaCitationsConfigParam value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
context
final BetaBase64PdfBlock.Builder context(String context)
-
context
final BetaBase64PdfBlock.Builder context(Optional<String> context)
Alias for calling Builder.context with
context.orElse(null).
-
context
final BetaBase64PdfBlock.Builder context(JsonField<String> context)
Sets Builder.context to an arbitrary JSON value.
You should usually call Builder.context with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
title
final BetaBase64PdfBlock.Builder title(String title)
-
title
final BetaBase64PdfBlock.Builder title(Optional<String> title)
Alias for calling Builder.title with
title.orElse(null).
-
title
final BetaBase64PdfBlock.Builder title(JsonField<String> title)
Sets Builder.title to an arbitrary JSON value.
You should usually call Builder.title 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 BetaBase64PdfBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaBase64PdfBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaBase64PdfBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaBase64PdfBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaBase64PdfBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaBase64PdfBlock build()
Returns an immutable instance of BetaBase64PdfBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.source()
-
-
-
-