Class BetaCompactionIterationUsage.Builder
-
- All Implemented Interfaces:
public final class BetaCompactionIterationUsage.BuilderA builder for BetaCompactionIterationUsage.
-
-
Method Summary
-
-
Method Detail
-
cacheCreation
final BetaCompactionIterationUsage.Builder cacheCreation(BetaCacheCreation cacheCreation)
Breakdown of cached tokens by TTL
-
cacheCreation
final BetaCompactionIterationUsage.Builder cacheCreation(Optional<BetaCacheCreation> cacheCreation)
Alias for calling Builder.cacheCreation with
cacheCreation.orElse(null).
-
cacheCreation
final BetaCompactionIterationUsage.Builder cacheCreation(JsonField<BetaCacheCreation> cacheCreation)
Sets Builder.cacheCreation to an arbitrary JSON value.
You should usually call Builder.cacheCreation with a well-typed BetaCacheCreation value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
cacheCreationInputTokens
final BetaCompactionIterationUsage.Builder cacheCreationInputTokens(Long cacheCreationInputTokens)
The number of input tokens used to create the cache entry.
-
cacheCreationInputTokens
final BetaCompactionIterationUsage.Builder cacheCreationInputTokens(JsonField<Long> cacheCreationInputTokens)
Sets Builder.cacheCreationInputTokens to an arbitrary JSON value.
You should usually call Builder.cacheCreationInputTokens with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
cacheReadInputTokens
final BetaCompactionIterationUsage.Builder cacheReadInputTokens(Long cacheReadInputTokens)
The number of input tokens read from the cache.
-
cacheReadInputTokens
final BetaCompactionIterationUsage.Builder cacheReadInputTokens(JsonField<Long> cacheReadInputTokens)
Sets Builder.cacheReadInputTokens to an arbitrary JSON value.
You should usually call Builder.cacheReadInputTokens with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputTokens
final BetaCompactionIterationUsage.Builder inputTokens(Long inputTokens)
The number of input tokens which were used.
-
inputTokens
final BetaCompactionIterationUsage.Builder inputTokens(JsonField<Long> inputTokens)
Sets Builder.inputTokens to an arbitrary JSON value.
You should usually call Builder.inputTokens with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outputTokens
final BetaCompactionIterationUsage.Builder outputTokens(Long outputTokens)
The number of output tokens which were used.
-
outputTokens
final BetaCompactionIterationUsage.Builder outputTokens(JsonField<Long> outputTokens)
Sets Builder.outputTokens to an arbitrary JSON value.
You should usually call Builder.outputTokens with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaCompactionIterationUsage.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.
-
additionalProperties
final BetaCompactionIterationUsage.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaCompactionIterationUsage.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaCompactionIterationUsage.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaCompactionIterationUsage.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaCompactionIterationUsage.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaCompactionIterationUsage build()
Returns an immutable instance of BetaCompactionIterationUsage.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.cacheCreation() .cacheCreationInputTokens() .cacheReadInputTokens() .inputTokens() .outputTokens()
-
-
-
-