Record Class ClusterConfigurationManagementRequest.AddMembersRequest
java.lang.Object
java.lang.Record
io.camunda.zeebe.dynamic.config.api.ClusterConfigurationManagementRequest.AddMembersRequest
- All Implemented Interfaces:
ClusterConfigurationManagementRequest
- Enclosing interface:
ClusterConfigurationManagementRequest
public static record ClusterConfigurationManagementRequest.AddMembersRequest(Set<MemberId> members, 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
ConstructorsConstructorDescriptionAddMembersRequest(Set<MemberId> members, boolean dryRun) Creates an instance of aAddMembersRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleandryRun()Returns the value of thedryRunrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.members()Returns the value of themembersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AddMembersRequest
Creates an instance of aAddMembersRequestrecord class.- Parameters:
members- the value for themembersrecord 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 '=='. -
members
Returns the value of themembersrecord component.- Returns:
- the value of the
membersrecord component
-
dryRun
public boolean dryRun()Returns the value of thedryRunrecord component.- Specified by:
dryRunin interfaceClusterConfigurationManagementRequest- Returns:
- the value of the
dryRunrecord component
-