Record Class RabbitMqRequest
java.lang.Object
java.lang.Record
io.camunda.connector.rabbitmq.outbound.model.RabbitMqRequest
public record RabbitMqRequest(@Valid @NotNull RabbitMqAuthentication authentication, @Valid @NotNull RabbitMqOutboundRouting routing, @Valid @NotNull RabbitMqMessage message)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRabbitMqRequest(@Valid @NotNull RabbitMqAuthentication authentication, @Valid @NotNull RabbitMqOutboundRouting routing, @Valid @NotNull RabbitMqMessage message) Creates an instance of aRabbitMqRequestrecord class. -
Method Summary
Modifier and TypeMethodDescription@Valid @NotNull RabbitMqAuthenticationReturns the value of theauthenticationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@jakarta.validation.constraints.AssertFalse boolean@Valid @NotNull RabbitMqMessagemessage()Returns the value of themessagerecord component.@Valid @NotNull RabbitMqOutboundRoutingrouting()Returns the value of theroutingrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RabbitMqRequest
public RabbitMqRequest(@Valid @NotNull @Valid @NotNull RabbitMqAuthentication authentication, @Valid @NotNull @Valid @NotNull RabbitMqOutboundRouting routing, @Valid @NotNull @Valid @NotNull RabbitMqMessage message) Creates an instance of aRabbitMqRequestrecord class.- Parameters:
authentication- the value for theauthenticationrecord componentrouting- the value for theroutingrecord componentmessage- the value for themessagerecord component
-
-
Method Details
-
isRoutingParamsNotFilling
@AssertFalse public @jakarta.validation.constraints.AssertFalse boolean isRoutingParamsNotFilling() -
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 withObjects::equals(Object,Object). -
authentication
Returns the value of theauthenticationrecord component.- Returns:
- the value of the
authenticationrecord component
-
routing
Returns the value of theroutingrecord component.- Returns:
- the value of the
routingrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-