Package com.google.genai.types
Class UpdateCachedContentConfig.Builder
-
- All Implemented Interfaces:
public abstract class UpdateCachedContentConfig.BuilderBuilder for UpdateCachedContentConfig.
-
-
Constructor Summary
Constructors Constructor Description UpdateCachedContentConfig.Builder()
-
Method Summary
Modifier and Type Method Description abstract UpdateCachedContentConfig.BuilderhttpOptions(HttpOptions httpOptions)Setter for httpOptions. UpdateCachedContentConfig.BuilderhttpOptions(HttpOptions.Builder httpOptionsBuilder)Setter for httpOptions builder. UpdateCachedContentConfig.BuilderclearHttpOptions()Clears the value of httpOptions field. abstract UpdateCachedContentConfig.Builderttl(Duration ttl)Setter for ttl. UpdateCachedContentConfig.BuilderclearTtl()Clears the value of ttl field. abstract UpdateCachedContentConfig.BuilderexpireTime(Instant expireTime)Setter for expireTime. UpdateCachedContentConfig.BuilderclearExpireTime()Clears the value of expireTime field. abstract UpdateCachedContentConfigbuild()-
-
Method Detail
-
httpOptions
abstract UpdateCachedContentConfig.Builder httpOptions(HttpOptions httpOptions)
Setter for httpOptions.
httpOptions: Used to override HTTP request options.
-
httpOptions
@CanIgnoreReturnValue() UpdateCachedContentConfig.Builder httpOptions(HttpOptions.Builder httpOptionsBuilder)
Setter for httpOptions builder.
httpOptions: Used to override HTTP request options.
-
clearHttpOptions
@CanIgnoreReturnValue() UpdateCachedContentConfig.Builder clearHttpOptions()
Clears the value of httpOptions field.
-
ttl
abstract UpdateCachedContentConfig.Builder ttl(Duration ttl)
Setter for ttl.
ttl: The TTL for this resource. The expiration time is computed: now + TTL. It is a duration string, with up to nine fractional digits, terminated by 's'. Example: "3.5s".
-
clearTtl
@CanIgnoreReturnValue() UpdateCachedContentConfig.Builder clearTtl()
Clears the value of ttl field.
-
expireTime
abstract UpdateCachedContentConfig.Builder expireTime(Instant expireTime)
Setter for expireTime.
expireTime: Timestamp of when this resource is considered expired. Uses RFC 3339 format, Example: 2014-10-02T15:01:23Z.
-
clearExpireTime
@CanIgnoreReturnValue() UpdateCachedContentConfig.Builder clearExpireTime()
Clears the value of expireTime field.
-
build
abstract UpdateCachedContentConfig build()
-
-
-
-