Record Class ClusterConfigurationManagementRequest.ExporterEnableRequest
java.lang.Object
java.lang.Record
io.camunda.zeebe.dynamic.config.api.ClusterConfigurationManagementRequest.ExporterEnableRequest
- All Implemented Interfaces:
ClusterConfigurationManagementRequest
- Enclosing interface:
ClusterConfigurationManagementRequest
public static record ClusterConfigurationManagementRequest.ExporterEnableRequest(String exporterId, Optional<String> initializeFrom, 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
ConstructorsConstructorDescriptionExporterEnableRequest(String exporterId, Optional<String> initializeFrom, boolean dryRun) Creates an instance of aExporterEnableRequestrecord 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.Returns the value of theinitializeFromrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExporterEnableRequest
Creates an instance of aExporterEnableRequestrecord class.- Parameters:
exporterId- the value for theexporterIdrecord componentinitializeFrom- the value for theinitializeFromrecord 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
-
initializeFrom
Returns the value of theinitializeFromrecord component.- Returns:
- the value of the
initializeFromrecord component
-
dryRun
public boolean dryRun()Returns the value of thedryRunrecord component.- Specified by:
dryRunin interfaceClusterConfigurationManagementRequest- Returns:
- the value of the
dryRunrecord component
-