Record Class RegistrationGrantDeliveryRequest
java.lang.Object
java.lang.Record
com.chaosguide.iam.vertex.portal.RegistrationGrantDeliveryRequest
public record RegistrationGrantDeliveryRequest(String recipient, String locale, RegistrationGrantDeliveryRequest.Variant variant)
extends Record
Explicit delivery; the recipient is never inferred from another operation.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRegistrationGrantDeliveryRequest(String recipient, String locale, RegistrationGrantDeliveryRequest.Variant variant) Creates an instance of aRegistrationGrantDeliveryRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.locale()Returns the value of thelocalerecord component.Returns the value of therecipientrecord component.final StringtoString()Returns a string representation of this record class.variant()Returns the value of thevariantrecord component.
-
Constructor Details
-
RegistrationGrantDeliveryRequest
public RegistrationGrantDeliveryRequest(String recipient, String locale, RegistrationGrantDeliveryRequest.Variant variant) Creates an instance of aRegistrationGrantDeliveryRequestrecord class.- Parameters:
recipient- the value for therecipientrecord componentlocale- the value for thelocalerecord componentvariant- the value for thevariantrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
recipient
Returns the value of therecipientrecord component.- Returns:
- the value of the
recipientrecord component
-
locale
Returns the value of thelocalerecord component.- Returns:
- the value of the
localerecord component
-
variant
Returns the value of thevariantrecord component.- Returns:
- the value of the
variantrecord component
-