Record Class PermissionManifestClient.StartupOptions
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.manifest.PermissionManifestClient.StartupOptions
- Enclosing class:
PermissionManifestClient
public static record PermissionManifestClient.StartupOptions(PermissionManifestClient.StartupMode mode, PermissionManifestClient.FailurePolicy failurePolicy, String idempotencyKey, Consumer<PermissionManifestClient.StartupContinuation> continueHandler)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionStartupOptions(PermissionManifestClient.StartupMode mode, PermissionManifestClient.FailurePolicy failurePolicy, String idempotencyKey, Consumer<PermissionManifestClient.StartupContinuation> continueHandler) Creates an instance of aStartupOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontinueHandlerrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefailurePolicyrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theidempotencyKeyrecord component.mode()Returns the value of themoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StartupOptions
public StartupOptions(PermissionManifestClient.StartupMode mode, PermissionManifestClient.FailurePolicy failurePolicy, String idempotencyKey, Consumer<PermissionManifestClient.StartupContinuation> continueHandler) Creates an instance of aStartupOptionsrecord class.- Parameters:
mode- the value for themoderecord componentfailurePolicy- the value for thefailurePolicyrecord componentidempotencyKey- the value for theidempotencyKeyrecord componentcontinueHandler- the value for thecontinueHandlerrecord 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
-
failurePolicy
Returns the value of thefailurePolicyrecord component.- Returns:
- the value of the
failurePolicyrecord component
-
idempotencyKey
Returns the value of theidempotencyKeyrecord component.- Returns:
- the value of the
idempotencyKeyrecord component
-
continueHandler
Returns the value of thecontinueHandlerrecord component.- Returns:
- the value of the
continueHandlerrecord component
-