Class BetaManagedAgentsBillingError.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsBillingError.BuilderA builder for BetaManagedAgentsBillingError.
-
-
Method Summary
-
-
Method Detail
-
message
final BetaManagedAgentsBillingError.Builder message(String message)
Human-readable error description.
-
message
final BetaManagedAgentsBillingError.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 BetaManagedAgentsBillingError.Builder retryStatus(BetaManagedAgentsBillingError.RetryStatus retryStatus)
What the client should do next in response to this error.
-
retryStatus
final BetaManagedAgentsBillingError.Builder retryStatus(JsonField<BetaManagedAgentsBillingError.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 BetaManagedAgentsBillingError.Builder retryStatus(BetaManagedAgentsRetryStatusRetrying retrying)
Alias for calling retryStatus with
RetryStatus.ofRetrying(retrying).
-
retryStatus
final BetaManagedAgentsBillingError.Builder retryStatus(BetaManagedAgentsRetryStatusExhausted exhausted)
Alias for calling retryStatus with
RetryStatus.ofExhausted(exhausted).
-
retryStatus
final BetaManagedAgentsBillingError.Builder retryStatus(BetaManagedAgentsRetryStatusTerminal terminal)
Alias for calling retryStatus with
RetryStatus.ofTerminal(terminal).
-
type
final BetaManagedAgentsBillingError.Builder type(BetaManagedAgentsBillingError.Type type)
-
type
final BetaManagedAgentsBillingError.Builder type(JsonField<BetaManagedAgentsBillingError.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 BetaManagedAgentsBillingError.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsBillingError.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsBillingError.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsBillingError.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsBillingError.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsBillingError build()
Returns an immutable instance of BetaManagedAgentsBillingError.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.message() .retryStatus() .type()
-
-
-
-