Class BetaCompactionBlockParam.Builder
-
- All Implemented Interfaces:
public final class BetaCompactionBlockParam.BuilderA builder for BetaCompactionBlockParam.
-
-
Method Summary
-
-
Method Detail
-
content
final BetaCompactionBlockParam.Builder content(String content)
Summary of previously compacted content, or null if compaction failed
-
content
final BetaCompactionBlockParam.Builder content(Optional<String> content)
Alias for calling Builder.content with
content.orElse(null).
-
content
final BetaCompactionBlockParam.Builder content(JsonField<String> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaCompactionBlockParam.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("compaction")This method is primarily for setting the field to an undocumented or not yet supported value.
-
cacheControl
final BetaCompactionBlockParam.Builder cacheControl(BetaCacheControlEphemeral cacheControl)
Create a cache control breakpoint at this content block.
-
cacheControl
final BetaCompactionBlockParam.Builder cacheControl(Optional<BetaCacheControlEphemeral> cacheControl)
Alias for calling Builder.cacheControl with
cacheControl.orElse(null).
-
cacheControl
final BetaCompactionBlockParam.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.
-
additionalProperties
final BetaCompactionBlockParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaCompactionBlockParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaCompactionBlockParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaCompactionBlockParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaCompactionBlockParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaCompactionBlockParam build()
Returns an immutable instance of BetaCompactionBlockParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content()
-
-
-
-