Class BetaManagedAgentsSessionStats.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionStats.BuilderA builder for BetaManagedAgentsSessionStats.
-
-
Method Summary
-
-
Method Detail
-
activeSeconds
final BetaManagedAgentsSessionStats.Builder activeSeconds(Double activeSeconds)
Cumulative time in seconds the session spent in running status. Excludes idle time.
-
activeSeconds
final BetaManagedAgentsSessionStats.Builder activeSeconds(JsonField<Double> activeSeconds)
Sets Builder.activeSeconds to an arbitrary JSON value.
You should usually call Builder.activeSeconds with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
durationSeconds
final BetaManagedAgentsSessionStats.Builder durationSeconds(Double durationSeconds)
Elapsed time since session creation in seconds. For terminated sessions, frozen at the final update.
-
durationSeconds
final BetaManagedAgentsSessionStats.Builder durationSeconds(JsonField<Double> durationSeconds)
Sets Builder.durationSeconds to an arbitrary JSON value.
You should usually call Builder.durationSeconds with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsSessionStats.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsSessionStats.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsSessionStats.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsSessionStats.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsSessionStats.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsSessionStats build()
Returns an immutable instance of BetaManagedAgentsSessionStats.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-