Package ai.vectros.types
Interface AccessProfileRequest._FinalStage
- All Known Implementing Classes:
AccessProfileRequest.Builder
- Enclosing class:
AccessProfileRequest
public static interface AccessProfileRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()identityOverrides(Map<String, Object> identityOverrides) identityOverrides(Optional<Map<String, Object>> identityOverrides) Optional per-context identity overrides.Reference to a role within the same context that supplies this principal's scopes.scopes(List<ScopeClause> scopes) scopes(Optional<List<ScopeClause>> scopes) Inline scope clauses to grant the principal.status(AccessProfileRequestStatus status) status(Optional<AccessProfileRequestStatus> status) Profile lifecycle status.
-
Method Details
-
build
AccessProfileRequest build() -
additionalProperty
-
additionalProperties
-
scopes
Inline scope clauses to grant the principal. Provide exactly one of
scopesorroleId— setting both, or neither, returns a 400. -
scopes
-
roleId
Reference to a role within the same context that supplies this principal's scopes. Provide exactly one of
scopesorroleId— setting both, or neither, returns a 400. Changes to the role's scopes take effect for all referencing profiles. -
roleId
-
identityOverrides
Optional per-context identity overrides. Only
orgIdandclientIdmay be overridden; any other key is rejected. An empty or omitted map applies no overrides — the base identity from the user or key record is used as-is. -
identityOverrides
-
status
Profile lifecycle status.
activepermits token minting;suspendeddenies it (minting returns a uniform 403). Defaults toactivewhen omitted. -
status
-