final case class ProducerEvent[T](data: T, attributes: Map[String, MessageAttributeValue], groupId: Option[String], deduplicationId: Option[String], delay: Option[Duration] = None) extends Product with Serializable
Event to publish to SQS.
- T
type of the payload for the event.
- data
payload to publish.
- attributes
a map of attributes to set.
- groupId
assigns a specific message group to the message.
- deduplicationId
token used for deduplication of sent messages.
- delay
in order to delay delivery of the message. Allowed values: 0 to 15 minutes.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ProducerEvent
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ProducerEvent(data: T, attributes: Map[String, MessageAttributeValue], groupId: Option[String], deduplicationId: Option[String], delay: Option[Duration] = None)
- data
payload to publish.
- attributes
a map of attributes to set.
- groupId
assigns a specific message group to the message.
- deduplicationId
token used for deduplication of sent messages.
- delay
in order to delay delivery of the message. Allowed values: 0 to 15 minutes.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val attributes: Map[String, MessageAttributeValue]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val data: T
- val deduplicationId: Option[String]
- val delay: Option[Duration]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val groupId: Option[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()