Class BetaCacheCreation.Builder
-
- All Implemented Interfaces:
public final class BetaCacheCreation.BuilderA builder for BetaCacheCreation.
-
-
Method Summary
-
-
Method Detail
-
ephemeral1hInputTokens
final BetaCacheCreation.Builder ephemeral1hInputTokens(Long ephemeral1hInputTokens)
The number of input tokens used to create the 1 hour cache entry.
-
ephemeral1hInputTokens
final BetaCacheCreation.Builder ephemeral1hInputTokens(JsonField<Long> ephemeral1hInputTokens)
Sets Builder.ephemeral1hInputTokens to an arbitrary JSON value.
You should usually call Builder.ephemeral1hInputTokens with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
ephemeral5mInputTokens
final BetaCacheCreation.Builder ephemeral5mInputTokens(Long ephemeral5mInputTokens)
The number of input tokens used to create the 5 minute cache entry.
-
ephemeral5mInputTokens
final BetaCacheCreation.Builder ephemeral5mInputTokens(JsonField<Long> ephemeral5mInputTokens)
Sets Builder.ephemeral5mInputTokens to an arbitrary JSON value.
You should usually call Builder.ephemeral5mInputTokens with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaCacheCreation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaCacheCreation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaCacheCreation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaCacheCreation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaCacheCreation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaCacheCreation build()
Returns an immutable instance of BetaCacheCreation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.ephemeral1hInputTokens() .ephemeral5mInputTokens()
-
-
-
-