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