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 UpdateCachedContentConfigbuild()Clears the value of expireTime field.Clears the value of httpOptions field.clearTtl()Clears the value of ttl field.abstract UpdateCachedContentConfig.BuilderexpireTime(Instant expireTime) Setter for expireTime.abstract UpdateCachedContentConfig.BuilderhttpOptions(HttpOptions httpOptions) Setter for httpOptions.httpOptions(HttpOptions.Builder httpOptionsBuilder) Setter for httpOptions builder.abstract UpdateCachedContentConfig.BuilderSetter for ttl.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpOptions
Setter for httpOptions.httpOptions: Used to override HTTP request options.
-
httpOptions
@CanIgnoreReturnValue public UpdateCachedContentConfig.Builder httpOptions(HttpOptions.Builder httpOptionsBuilder) Setter for httpOptions builder.httpOptions: Used to override HTTP request options.
-
clearHttpOptions
Clears the value of httpOptions field. -
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
Clears the value of ttl field. -
expireTime
Setter for expireTime.expireTime: Timestamp of when this resource is considered expired. Uses RFC 3339 format, Example: 2014-10-02T15:01:23Z.
-
clearExpireTime
Clears the value of expireTime field. -
build
-