Class Base64PdfSource.Builder
-
- All Implemented Interfaces:
public final class Base64PdfSource.BuilderA builder for Base64PdfSource.
-
-
Method Summary
Modifier and Type Method Description final Base64PdfSource.Builderdata(String data)final Base64PdfSource.Builderdata(JsonField<String> data)Sets Builder.data to an arbitrary JSON value. final Base64PdfSource.BuildermediaType(JsonValue mediaType)Sets the field to an arbitrary JSON value. final Base64PdfSource.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final Base64PdfSource.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final Base64PdfSource.BuilderputAdditionalProperty(String key, JsonValue value)final Base64PdfSource.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final Base64PdfSource.BuilderremoveAdditionalProperty(String key)final Base64PdfSource.BuilderremoveAllAdditionalProperties(Set<String> keys)final Base64PdfSourcebuild()Returns an immutable instance of Base64PdfSource. -
-
Method Detail
-
data
final Base64PdfSource.Builder data(String data)
-
data
final Base64PdfSource.Builder data(JsonField<String> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mediaType
final Base64PdfSource.Builder mediaType(JsonValue mediaType)
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("application/pdf")This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final Base64PdfSource.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("base64")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Base64PdfSource.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Base64PdfSource.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Base64PdfSource.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Base64PdfSource.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Base64PdfSource.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Base64PdfSource build()
Returns an immutable instance of Base64PdfSource.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data()
-
-
-
-