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.
public final classBetaManagedAgentsStaticBearerCreateParams.Type
-
Method Summary
Modifier and Type Method Description final Stringtoken()Static bearer token value. final StringmcpServerUrl()URL of the MCP server this credential authenticates against. final BetaManagedAgentsStaticBearerCreateParams.Typetype()final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<String>_mcpServerUrl()Returns the raw JSON value of mcpServerUrl. final JsonField<BetaManagedAgentsStaticBearerCreateParams.Type>_type()Returns the raw JSON value of type. 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
-
mcpServerUrl
final String mcpServerUrl()
URL of the MCP server this credential authenticates against.
-
type
final BetaManagedAgentsStaticBearerCreateParams.Type type()
-
_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.
-
_type
final JsonField<BetaManagedAgentsStaticBearerCreateParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, 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() .type()
-
-
-
-