Record Class PermissionManifestClient.Result
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.manifest.PermissionManifestClient.Result
- Enclosing class:
PermissionManifestClient
public static record PermissionManifestClient.Result(String mode, String manifestId, String revision, String fingerprint, boolean applied, List<PermissionManifestClient.Item> results, List<PermissionManifestClient.Drift> drift, PermissionManifestClient.Counts counts)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResult(String mode, String manifestId, String revision, String fingerprint, boolean applied, List<PermissionManifestClient.Item> results, List<PermissionManifestClient.Drift> drift, PermissionManifestClient.Counts counts) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplied()Returns the value of theappliedrecord component.counts()Returns the value of thecountsrecord component.drift()Returns the value of thedriftrecord component.final 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.results()Returns the value of theresultsrecord component.revision()Returns the value of therevisionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
public Result(String mode, String manifestId, String revision, String fingerprint, boolean applied, List<PermissionManifestClient.Item> results, List<PermissionManifestClient.Drift> drift, PermissionManifestClient.Counts counts) Creates an instance of aResultrecord class.- Parameters:
mode- the value for themoderecord componentmanifestId- the value for themanifestIdrecord componentrevision- the value for therevisionrecord componentfingerprint- the value for thefingerprintrecord componentapplied- the value for theappliedrecord componentresults- the value for theresultsrecord componentdrift- the value for thedriftrecord componentcounts- the value for thecountsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
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
-
applied
public boolean applied()Returns the value of theappliedrecord component.- Returns:
- the value of the
appliedrecord component
-
results
Returns the value of theresultsrecord component.- Returns:
- the value of the
resultsrecord component
-
drift
Returns the value of thedriftrecord component.- Returns:
- the value of the
driftrecord component
-
counts
Returns the value of thecountsrecord component.- Returns:
- the value of the
countsrecord component
-