Record Class OpenRolePermissionSet
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.OpenRolePermissionSet
-
Constructor Summary
ConstructorsConstructorDescriptionOpenRolePermissionSet(String roleId, List<String> permissionIds, long version, String etag) Creates an instance of aOpenRolePermissionSetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.etag()Returns the value of theetagrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepermissionIdsrecord component.roleId()Returns the value of theroleIdrecord component.final StringtoString()Returns a string representation of this record class.longversion()Returns the value of theversionrecord component.
-
Constructor Details
-
OpenRolePermissionSet
Creates an instance of aOpenRolePermissionSetrecord class.- Parameters:
roleId- the value for theroleIdrecord componentpermissionIds- the value for thepermissionIdsrecord componentversion- the value for theversionrecord componentetag- the value for theetagrecord component
-
-
Method Details
-
withEtag
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
roleId
Returns the value of theroleIdrecord component.- Returns:
- the value of the
roleIdrecord component
-
permissionIds
-
version
public long version()Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
etag
Returns the value of theetagrecord component.- Returns:
- the value of the
etagrecord component
-