Record Class BatchResult.SnsResult
java.lang.Object
java.lang.Record
io.awspring.cloud.sns.core.batch.BatchResult.SnsResult
- Record Components:
messageId- The unique identifier assigned by SNS to the published messagebatchId- The identifier used in the batch request to correlate the resultsequenceNumber- Sequence number of message sent. Only for FIFO.
- Enclosing class:
BatchResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbatchId()Returns the value of thebatchIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themessageIdrecord component.Returns the value of thesequenceNumberrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SnsResult
Creates an instance of aSnsResultrecord class.- Parameters:
messageId- the value for themessageIdrecord componentbatchId- the value for thebatchIdrecord componentsequenceNumber- the value for thesequenceNumberrecord 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). -
messageId
-
batchId
-
sequenceNumber
Returns the value of thesequenceNumberrecord component.- Returns:
- the value of the
sequenceNumberrecord component
-