Record Class ClusterConfigurationManagementRequest.ExporterDisableRequest
java.lang.Object
java.lang.Record
io.camunda.zeebe.dynamic.config.api.ClusterConfigurationManagementRequest.ExporterDisableRequest
- All Implemented Interfaces:
ClusterConfigurationManagementRequest
- Enclosing interface:
ClusterConfigurationManagementRequest
public static record ClusterConfigurationManagementRequest.ExporterDisableRequest(String exporterId, boolean dryRun)
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
ConstructorsConstructorDescriptionExporterDisableRequest(String exporterId, boolean dryRun) Creates an instance of aExporterDisableRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleandryRun()Returns the value of thedryRunrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexporterIdrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExporterDisableRequest
Creates an instance of aExporterDisableRequestrecord class.- Parameters:
exporterId- the value for theexporterIdrecord componentdryRun- the value for thedryRunrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
exporterId
Returns the value of theexporterIdrecord component.- Returns:
- the value of the
exporterIdrecord component
-
dryRun
public boolean dryRun()Returns the value of thedryRunrecord component.- Specified by:
dryRunin interfaceClusterConfigurationManagementRequest- Returns:
- the value of the
dryRunrecord component
-