Record Class PermissionManifestClient.PreparedManifest
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.manifest.PermissionManifestClient.PreparedManifest
- Enclosing class:
PermissionManifestClient
-
Constructor Summary
ConstructorsConstructorDescriptionPreparedManifest(String mode, String manifestId, String revision, String fingerprint, List<PermissionManifestClient.Declaration> permissions) Creates an instance of aPreparedManifestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefingerprintrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themanifestIdrecord component.mode()Returns the value of themoderecord 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
-
PreparedManifest
public PreparedManifest(String mode, String manifestId, String revision, String fingerprint, List<PermissionManifestClient.Declaration> permissions) Creates an instance of aPreparedManifestrecord class.- Parameters:
mode- the value for themoderecord componentmanifestId- the value for themanifestIdrecord componentrevision- the value for therevisionrecord componentfingerprint- the value for thefingerprintrecord 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). -
mode
Returns the value of themoderecord component.- Returns:
- the value of the
moderecord component
-
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
-
fingerprint
Returns the value of thefingerprintrecord component.- Returns:
- the value of the
fingerprintrecord component
-
permissions
Returns the value of thepermissionsrecord component.- Returns:
- the value of the
permissionsrecord component
-