Record Class ClusterConfigurationManagementRequest.CancelChangeRequest
java.lang.Object
java.lang.Record
io.camunda.zeebe.dynamic.config.api.ClusterConfigurationManagementRequest.CancelChangeRequest
- All Implemented Interfaces:
ClusterConfigurationManagementRequest
- Enclosing interface:
ClusterConfigurationManagementRequest
public static record ClusterConfigurationManagementRequest.CancelChangeRequest(long changeId)
extends Record
implements ClusterConfigurationManagementRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.zeebe.dynamic.config.api.ClusterConfigurationManagementRequest
ClusterConfigurationManagementRequest.AddMembersRequest, ClusterConfigurationManagementRequest.BrokerScaleRequest, ClusterConfigurationManagementRequest.CancelChangeRequest, ClusterConfigurationManagementRequest.ClusterPatchRequest, ClusterConfigurationManagementRequest.ClusterScaleRequest, ClusterConfigurationManagementRequest.ExporterDisableRequest, ClusterConfigurationManagementRequest.ExporterEnableRequest, ClusterConfigurationManagementRequest.ForceRemoveBrokersRequest, ClusterConfigurationManagementRequest.JoinPartitionRequest, ClusterConfigurationManagementRequest.LeavePartitionRequest, ClusterConfigurationManagementRequest.ReassignPartitionsRequest, ClusterConfigurationManagementRequest.RemoveMembersRequest -
Constructor Summary
ConstructorsConstructorDescriptionCancelChangeRequest(long changeId) Creates an instance of aCancelChangeRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongchangeId()Returns the value of thechangeIdrecord component.booleandryRun()Marks a request as dry run.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CancelChangeRequest
public CancelChangeRequest(long changeId) Creates an instance of aCancelChangeRequestrecord class.- Parameters:
changeId- the value for thechangeIdrecord component
-
-
Method Details
-
dryRun
public boolean dryRun()Description copied from interface:ClusterConfigurationManagementRequestMarks a request as dry run. Changes are planned and validated but not applied so the cluster configuration remains unchanged.- Specified by:
dryRunin interfaceClusterConfigurationManagementRequest
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 with '=='. -
changeId
public long changeId()Returns the value of thechangeIdrecord component.- Returns:
- the value of the
changeIdrecord component
-