Class BetaManagedAgentsCredentialValidation.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsCredentialValidation.BuilderA builder for BetaManagedAgentsCredentialValidation.
-
-
Method Summary
-
-
Method Detail
-
credentialId
final BetaManagedAgentsCredentialValidation.Builder credentialId(String credentialId)
Unique identifier of the credential that was validated.
-
credentialId
final BetaManagedAgentsCredentialValidation.Builder credentialId(JsonField<String> credentialId)
Sets Builder.credentialId to an arbitrary JSON value.
You should usually call Builder.credentialId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hasRefreshToken
final BetaManagedAgentsCredentialValidation.Builder hasRefreshToken(Boolean hasRefreshToken)
Whether the credential has a refresh token configured.
-
hasRefreshToken
final BetaManagedAgentsCredentialValidation.Builder hasRefreshToken(JsonField<Boolean> hasRefreshToken)
Sets Builder.hasRefreshToken to an arbitrary JSON value.
You should usually call Builder.hasRefreshToken with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mcpProbe
final BetaManagedAgentsCredentialValidation.Builder mcpProbe(BetaManagedAgentsMcpProbe mcpProbe)
The failing step of an MCP validation probe.
-
mcpProbe
final BetaManagedAgentsCredentialValidation.Builder mcpProbe(Optional<BetaManagedAgentsMcpProbe> mcpProbe)
Alias for calling Builder.mcpProbe with
mcpProbe.orElse(null).
-
mcpProbe
final BetaManagedAgentsCredentialValidation.Builder mcpProbe(JsonField<BetaManagedAgentsMcpProbe> mcpProbe)
Sets Builder.mcpProbe to an arbitrary JSON value.
You should usually call Builder.mcpProbe with a well-typed BetaManagedAgentsMcpProbe value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
refresh
final BetaManagedAgentsCredentialValidation.Builder refresh(BetaManagedAgentsRefreshObject refresh)
Outcome of a refresh-token exchange attempted during credential validation.
-
refresh
final BetaManagedAgentsCredentialValidation.Builder refresh(Optional<BetaManagedAgentsRefreshObject> refresh)
Alias for calling Builder.refresh with
refresh.orElse(null).
-
refresh
final BetaManagedAgentsCredentialValidation.Builder refresh(JsonField<BetaManagedAgentsRefreshObject> refresh)
Sets Builder.refresh to an arbitrary JSON value.
You should usually call Builder.refresh with a well-typed BetaManagedAgentsRefreshObject value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final BetaManagedAgentsCredentialValidation.Builder status(BetaManagedAgentsCredentialValidationStatus status)
Overall verdict of a credential validation probe.
-
status
final BetaManagedAgentsCredentialValidation.Builder status(JsonField<BetaManagedAgentsCredentialValidationStatus> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed BetaManagedAgentsCredentialValidationStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsCredentialValidation.Builder type(BetaManagedAgentsCredentialValidation.Type type)
-
type
final BetaManagedAgentsCredentialValidation.Builder type(JsonField<BetaManagedAgentsCredentialValidation.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.
-
validatedAt
final BetaManagedAgentsCredentialValidation.Builder validatedAt(OffsetDateTime validatedAt)
A timestamp in RFC 3339 format
-
validatedAt
final BetaManagedAgentsCredentialValidation.Builder validatedAt(JsonField<OffsetDateTime> validatedAt)
Sets Builder.validatedAt to an arbitrary JSON value.
You should usually call Builder.validatedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
vaultId
final BetaManagedAgentsCredentialValidation.Builder vaultId(String vaultId)
Identifier of the vault containing the credential.
-
vaultId
final BetaManagedAgentsCredentialValidation.Builder vaultId(JsonField<String> vaultId)
Sets Builder.vaultId to an arbitrary JSON value.
You should usually call Builder.vaultId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsCredentialValidation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsCredentialValidation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsCredentialValidation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsCredentialValidation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsCredentialValidation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsCredentialValidation build()
Returns an immutable instance of BetaManagedAgentsCredentialValidation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.credentialId() .hasRefreshToken() .mcpProbe() .refresh() .status() .type() .validatedAt() .vaultId()
-
-
-
-