Package ai.vectros.types
Class AccessProfileResponse.Builder
java.lang.Object
ai.vectros.types.AccessProfileResponse.Builder
- Enclosing class:
AccessProfileResponse
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()The app context this profile belongs to.When the profile was created (ISO-8601 UTC).from(AccessProfileResponse other) Opaque identifier for this profile.identityOverrides(Map<String, Object> identityOverrides) identityOverrides(Optional<Map<String, Object>> identityOverrides) Per-context identity overrides.lastModified(String lastModified) lastModified(Optional<String> lastModified) When the profile was last modified (ISO-8601 UTC).principalId(String principalId) principalId(Optional<String> principalId) Principal this profile applies to —usr_<userId>for a user, orkey_<keyId>for a scoped API key acting as its own principal.Reference to a role that supplies this principal's scopes.scopes(List<ScopeClause> scopes) scopes(Optional<List<ScopeClause>> scopes) Inline scope clauses granted to the principal.Profile lifecycle status:activeorsuspended.
-
Method Details
-
from
-
id
Opaque identifier for this profile. Also serves as the pagination cursor.
-
id
-
contextId
The app context this profile belongs to.
-
contextId
-
principalId
Principal this profile applies to —
usr_<userId>for a user, orkey_<keyId>for a scoped API key acting as its own principal. -
principalId
-
scopes
Inline scope clauses granted to the principal. Mutually exclusive with
roleId— exactly one of the two is present. -
scopes
-
roleId
Reference to a role that supplies this principal's scopes. Mutually exclusive with
scopes— exactly one of the two is present. -
roleId
-
identityOverrides
public AccessProfileResponse.Builder identityOverrides(Optional<Map<String, Object>> identityOverrides) Per-context identity overrides. Only
orgIdandclientIdmay be overridden. -
identityOverrides
-
status
Profile lifecycle status:
activeorsuspended. -
status
-
createdAt
When the profile was created (ISO-8601 UTC).
-
createdAt
-
lastModified
When the profile was last modified (ISO-8601 UTC).
-
lastModified
-
build
-
additionalProperty
-
additionalProperties
-