Package com.google.genai.types
Class UpdateCachedContentConfig.Builder
java.lang.Object
com.google.genai.types.UpdateCachedContentConfig.Builder
- Enclosing class:
- UpdateCachedContentConfig
Builder for UpdateCachedContentConfig.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract UpdateCachedContentConfig
build()
abstract UpdateCachedContentConfig.Builder
expireTime
(Instant expireTime) Setter for expireTime.abstract UpdateCachedContentConfig.Builder
httpOptions
(HttpOptions httpOptions) Setter for httpOptions.httpOptions
(HttpOptions.Builder httpOptionsBuilder) Setter for httpOptions builder.abstract UpdateCachedContentConfig.Builder
Setter for ttl.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpOptions
Setter for httpOptions.httpOptions: Used to override HTTP request options.
-
httpOptions
Setter for httpOptions builder.httpOptions: Used to override HTTP request options.
-
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".
-
expireTime
Setter for expireTime.expireTime: Timestamp of when this resource is considered expired. Uses RFC 3339 format, Example: 2014-10-02T15:01:23Z.
-
build
-