Record Class ConfiguredAuthorization
java.lang.Object
java.lang.Record
io.camunda.security.configuration.ConfiguredAuthorization
public record ConfiguredAuthorization(io.camunda.zeebe.protocol.record.value.AuthorizationOwnerType ownerType, String ownerId, io.camunda.zeebe.protocol.record.value.AuthorizationResourceType resourceType, String resourceId, Set<io.camunda.zeebe.protocol.record.value.PermissionType> permissions)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionConfiguredAuthorization(io.camunda.zeebe.protocol.record.value.AuthorizationOwnerType ownerType, String ownerId, io.camunda.zeebe.protocol.record.value.AuthorizationResourceType resourceType, String resourceId, Set<io.camunda.zeebe.protocol.record.value.PermissionType> permissions) Creates an instance of aConfiguredAuthorizationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ownerId()Returns the value of theownerIdrecord component.io.camunda.zeebe.protocol.record.value.AuthorizationOwnerTypeReturns the value of theownerTyperecord component.Set<io.camunda.zeebe.protocol.record.value.PermissionType> Returns the value of thepermissionsrecord component.Returns the value of theresourceIdrecord component.io.camunda.zeebe.protocol.record.value.AuthorizationResourceTypeReturns the value of theresourceTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConfiguredAuthorization
public ConfiguredAuthorization(io.camunda.zeebe.protocol.record.value.AuthorizationOwnerType ownerType, String ownerId, io.camunda.zeebe.protocol.record.value.AuthorizationResourceType resourceType, String resourceId, Set<io.camunda.zeebe.protocol.record.value.PermissionType> permissions) Creates an instance of aConfiguredAuthorizationrecord class.- Parameters:
ownerType- the value for theownerTyperecord componentownerId- the value for theownerIdrecord componentresourceType- the value for theresourceTyperecord componentresourceId- the value for theresourceIdrecord componentpermissions- the value for thepermissionsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
ownerType
public io.camunda.zeebe.protocol.record.value.AuthorizationOwnerType ownerType()Returns the value of theownerTyperecord component.- Returns:
- the value of the
ownerTyperecord component
-
ownerId
Returns the value of theownerIdrecord component.- Returns:
- the value of the
ownerIdrecord component
-
resourceType
public io.camunda.zeebe.protocol.record.value.AuthorizationResourceType resourceType()Returns the value of theresourceTyperecord component.- Returns:
- the value of the
resourceTyperecord component
-
resourceId
Returns the value of theresourceIdrecord component.- Returns:
- the value of the
resourceIdrecord component
-
permissions
Returns the value of thepermissionsrecord component.- Returns:
- the value of the
permissionsrecord component
-