Class BetaManagedAgentsModelRateLimitedError.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsModelRateLimitedError.BuilderA builder for BetaManagedAgentsModelRateLimitedError.
-
-
Method Summary
-
-
Method Detail
-
message
final BetaManagedAgentsModelRateLimitedError.Builder message(String message)
Human-readable error description.
-
message
final BetaManagedAgentsModelRateLimitedError.Builder message(JsonField<String> message)
Sets Builder.message to an arbitrary JSON value.
You should usually call Builder.message with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
retryStatus
final BetaManagedAgentsModelRateLimitedError.Builder retryStatus(BetaManagedAgentsModelRateLimitedError.RetryStatus retryStatus)
What the client should do next in response to this error.
-
retryStatus
final BetaManagedAgentsModelRateLimitedError.Builder retryStatus(JsonField<BetaManagedAgentsModelRateLimitedError.RetryStatus> retryStatus)
Sets Builder.retryStatus to an arbitrary JSON value.
You should usually call Builder.retryStatus with a well-typed RetryStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
retryStatus
final BetaManagedAgentsModelRateLimitedError.Builder retryStatus(BetaManagedAgentsRetryStatusRetrying retrying)
Alias for calling retryStatus with
RetryStatus.ofRetrying(retrying).
-
retryStatus
final BetaManagedAgentsModelRateLimitedError.Builder retryStatus(BetaManagedAgentsRetryStatusExhausted exhausted)
Alias for calling retryStatus with
RetryStatus.ofExhausted(exhausted).
-
retryStatus
final BetaManagedAgentsModelRateLimitedError.Builder retryStatus(BetaManagedAgentsRetryStatusTerminal terminal)
Alias for calling retryStatus with
RetryStatus.ofTerminal(terminal).
-
type
final BetaManagedAgentsModelRateLimitedError.Builder type(BetaManagedAgentsModelRateLimitedError.Type type)
-
type
final BetaManagedAgentsModelRateLimitedError.Builder type(JsonField<BetaManagedAgentsModelRateLimitedError.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsModelRateLimitedError.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsModelRateLimitedError.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsModelRateLimitedError.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsModelRateLimitedError.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsModelRateLimitedError.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsModelRateLimitedError build()
Returns an immutable instance of BetaManagedAgentsModelRateLimitedError.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.message() .retryStatus() .type()
-
-
-
-