Class CacheCreation.Builder
-
- All Implemented Interfaces:
public final class CacheCreation.BuilderA builder for CacheCreation.
-
-
Method Summary
-
-
Method Detail
-
ephemeral1hInputTokens
final CacheCreation.Builder ephemeral1hInputTokens(Long ephemeral1hInputTokens)
The number of input tokens used to create the 1 hour cache entry.
-
ephemeral1hInputTokens
final CacheCreation.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 CacheCreation.Builder ephemeral5mInputTokens(Long ephemeral5mInputTokens)
The number of input tokens used to create the 5 minute cache entry.
-
ephemeral5mInputTokens
final CacheCreation.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 CacheCreation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CacheCreation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CacheCreation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CacheCreation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CacheCreation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CacheCreation build()
Returns an immutable instance of CacheCreation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.ephemeral1hInputTokens() .ephemeral5mInputTokens()
-
-
-
-