Class BetaManagedAgentsStaticBearerCreateParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsStaticBearerCreateParamsParameters for creating a static bearer token credential.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsStaticBearerCreateParams.BuilderA builder for BetaManagedAgentsStaticBearerCreateParams.
-
Method Summary
Modifier and Type Method Description final Stringtoken()The static bearer token to send to the MCP server, such as an API key or personal access token. final StringmcpServerUrl()URL of the MCP server this credential authenticates against. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("static_bearer")final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<String>_mcpServerUrl()Returns the raw JSON value of mcpServerUrl. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsStaticBearerCreateParams.BuildertoBuilder()final BetaManagedAgentsStaticBearerCreateParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsStaticBearerCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsStaticBearerCreateParams. -
-
Method Detail
-
token
final String token()
The static bearer token to send to the MCP server, such as an API key or personal access token.
-
mcpServerUrl
final String mcpServerUrl()
URL of the MCP server this credential authenticates against.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("static_bearer")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_mcpServerUrl
final JsonField<String> _mcpServerUrl()
Returns the raw JSON value of mcpServerUrl.
Unlike mcpServerUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsStaticBearerCreateParams.Builder toBuilder()
-
validate
final BetaManagedAgentsStaticBearerCreateParams validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsStaticBearerCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsStaticBearerCreateParams.
The following fields are required:
.token() .mcpServerUrl()
-
-
-
-