Record Class PermissionManifestClient.Manifest
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.manifest.PermissionManifestClient.Manifest
- Enclosing class:
PermissionManifestClient
public static record PermissionManifestClient.Manifest(String manifestId, String revision, List<PermissionManifestClient.Declaration> permissions)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionManifest(String manifestId, String revision, List<PermissionManifestClient.Declaration> permissions) Creates an instance of aManifestrecord 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.Returns the value of themanifestIdrecord component.Returns the value of thepermissionsrecord component.revision()Returns the value of therevisionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Manifest
public Manifest(String manifestId, String revision, List<PermissionManifestClient.Declaration> permissions) Creates an instance of aManifestrecord class.- Parameters:
manifestId- the value for themanifestIdrecord componentrevision- the value for therevisionrecord componentpermissions- the value for thepermissionsrecord 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). -
manifestId
Returns the value of themanifestIdrecord component.- Returns:
- the value of the
manifestIdrecord component
-
revision
Returns the value of therevisionrecord component.- Returns:
- the value of the
revisionrecord component
-
permissions
Returns the value of thepermissionsrecord component.- Returns:
- the value of the
permissionsrecord component
-