Record Class ServerControlOperation.RequestApproval
java.lang.Object
java.lang.Record
zeroecho.pki.server.ServerControlOperation.RequestApproval
- Record Components:
approvalId- stable approval identifiertargetOperation- exact future administrative operationtargetResource- exact future target resource
- All Implemented Interfaces:
ServerControlOperation
- Enclosing interface:
ServerControlOperation
public static record ServerControlOperation.RequestApproval(String approvalId, AdministrativeOperation targetOperation, Permission.Resource targetResource)
extends Record
implements ServerControlOperation
Exact future-operation approval request.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ServerControlOperation
ServerControlOperation.AcmeDirectoryProfilePrecondition, ServerControlOperation.ActivateBreakGlass, ServerControlOperation.ActivateEnrollmentProfile, ServerControlOperation.BackupArtifactCommand, ServerControlOperation.CancelApproval, ServerControlOperation.ConfigurationChoices, ServerControlOperation.CreateBreakGlass, ServerControlOperation.CreateGrant, ServerControlOperation.CreateRoleAssignment, ServerControlOperation.DeactivateAcmeAccount, ServerControlOperation.DecideApproval, ServerControlOperation.DecideEnrollmentRequest, ServerControlOperation.DeregisterCmpEndpoint, ServerControlOperation.DeregisterEstEndpoint, ServerControlOperation.DeregisterScepEndpoint, ServerControlOperation.EnrollCredentialPublication, ServerControlOperation.EvaluateAuthorization, ServerControlOperation.ExecuteRestore, ServerControlOperation.ExportBackup, ServerControlOperation.ExportBackupStream, ServerControlOperation.InspectAcmeAccount, ServerControlOperation.InspectAcmeDirectory, ServerControlOperation.InspectApproval, ServerControlOperation.InspectAuditView, ServerControlOperation.InspectBreakGlass, ServerControlOperation.InspectCmpEndpoint, ServerControlOperation.InspectDisclosure, ServerControlOperation.InspectEnrollmentProfile, ServerControlOperation.InspectEnrollmentRequest, ServerControlOperation.InspectEstEndpoint, ServerControlOperation.InspectGrant, ServerControlOperation.InspectOcspResponder, ServerControlOperation.InspectPrincipal, ServerControlOperation.InspectRepositoryAlias, ServerControlOperation.InspectRoleAssignment, ServerControlOperation.InspectRoleTemplate, ServerControlOperation.InspectScepEndpoint, ServerControlOperation.IssueCapability, ServerControlOperation.ListAcmeAccounts, ServerControlOperation.ListAcmeDirectories, ServerControlOperation.ListApprovals, ServerControlOperation.ListBreakGlass, ServerControlOperation.ListCapabilities, ServerControlOperation.ListCmpEndpoints, ServerControlOperation.ListEnrollmentProfiles, ServerControlOperation.ListEnrollmentRequests, ServerControlOperation.ListEstEndpoints, ServerControlOperation.ListGrants, ServerControlOperation.ListOcspResponders, ServerControlOperation.ListPrincipals, ServerControlOperation.ListRepositoryAliases, ServerControlOperation.ListRoleAssignments, ServerControlOperation.ListRoleTemplates, ServerControlOperation.ListScepEndpoints, ServerControlOperation.RegisterAcmeDirectory, ServerControlOperation.RegisterCmpEndpoint, ServerControlOperation.RegisterEnrollmentProfile, ServerControlOperation.RegisterEstEndpoint, ServerControlOperation.RegisterOcspResponder, ServerControlOperation.RegisterPrincipal, ServerControlOperation.RegisterScepEndpoint, ServerControlOperation.RemoveRepositoryAlias, ServerControlOperation.RequestApproval, ServerControlOperation.ReserveBackupUpload, ServerControlOperation.RevokeBreakGlass, ServerControlOperation.RevokeCapability, ServerControlOperation.RevokeGrant, ServerControlOperation.RevokeRoleAssignment, ServerControlOperation.SearchAudit, ServerControlOperation.SetAcmeDirectoryActive, ServerControlOperation.SetDisclosure, ServerControlOperation.SetOcspResponderActive, ServerControlOperation.SetPrincipalEnabled, ServerControlOperation.SetRepositoryAlias, ServerControlOperation.SuspendEnrollmentProfile, ServerControlOperation.UpdateEnrollmentProfile, ServerControlOperation.VerifyAuditIntegrity, ServerControlOperation.VerifyBackup -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRequestApproval(String approvalId, AdministrativeOperation targetOperation, Permission.Resource targetResource) Validates the operation's immutable input. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapprovalIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the stable operation identity used for authorization and dispatch.Returns the value of thetargetOperationrecord component.Returns the value of thetargetResourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NAME
Stable operation identity used for authorization and dispatch.- See Also:
-
-
Constructor Details
-
RequestApproval
public RequestApproval(String approvalId, AdministrativeOperation targetOperation, Permission.Resource targetResource) Validates the operation's immutable input.
-
-
Method Details
-
name
Description copied from interface:ServerControlOperationReturns the stable operation identity used for authorization and dispatch.- Specified by:
namein interfaceServerControlOperation- Returns:
- stable operation identity
-
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). -
approvalId
Returns the value of theapprovalIdrecord component.- Returns:
- the value of the
approvalIdrecord component
-
targetOperation
Returns the value of thetargetOperationrecord component.- Returns:
- the value of the
targetOperationrecord component
-
targetResource
Returns the value of thetargetResourcerecord component.- Returns:
- the value of the
targetResourcerecord component
-