Record Class CreateOpenUserRoleRequest
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.CreateOpenUserRoleRequest
-
Constructor Summary
ConstructorsConstructorDescriptionCreateOpenUserRoleRequest(String roleId, UserRoleCondition condition) Creates an instance of aCreateOpenUserRoleRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconditionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.roleId()Returns the value of theroleIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateOpenUserRoleRequest
Creates an instance of aCreateOpenUserRoleRequestrecord class.- Parameters:
roleId- the value for theroleIdrecord componentcondition- the value for theconditionrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
roleId
Returns the value of theroleIdrecord component.- Returns:
- the value of the
roleIdrecord component
-
condition
Returns the value of theconditionrecord component.- Returns:
- the value of the
conditionrecord component
-