Record Class ConfiguredTenant
java.lang.Object
java.lang.Record
io.camunda.security.configuration.ConfiguredTenant
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclients()Returns the value of theclientsrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.groups()Returns the value of thegroupsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themappingRulesrecord component.name()Returns the value of thenamerecord component.roles()Returns the value of therolesrecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.users()Returns the value of theusersrecord component.
-
Constructor Details
-
ConfiguredTenant
public ConfiguredTenant(String tenantId, String name, String description, List<String> users, List<String> clients, List<String> roles, List<String> groups, List<String> mappingRules) Creates an instance of aConfiguredTenantrecord class.- Parameters:
tenantId- the value for thetenantIdrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentusers- the value for theusersrecord componentclients- the value for theclientsrecord componentroles- the value for therolesrecord componentgroups- the value for thegroupsrecord componentmappingRules- the value for themappingRulesrecord 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). -
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
users
Returns the value of theusersrecord component.- Returns:
- the value of the
usersrecord component
-
clients
Returns the value of theclientsrecord component.- Returns:
- the value of the
clientsrecord component
-
roles
Returns the value of therolesrecord component.- Returns:
- the value of the
rolesrecord component
-
groups
Returns the value of thegroupsrecord component.- Returns:
- the value of the
groupsrecord component
-
mappingRules
Returns the value of themappingRulesrecord component.- Returns:
- the value of the
mappingRulesrecord component
-