put
Add a string attribute for the specified key
Return
Same BatchEventAttributes instance, for chaining
Parameters
Attribute key. Should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.
String value to add. Can't be longer than 64 characters, and can't be empty or null. For better results, you should trim/lowercase your strings, and use slugs when possible.
Add an URL attribute for the specified key
Return
Same BatchEventAttributes instance, for chaining
Parameters
Attribute key. Should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.
URL value to add. Can't be longer than 2048 characters, and can't be empty or null.
Add a float attribute for the specified key
Return
Same BatchEventAttributes instance, for chaining
Parameters
Attribute key. Should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.
Float value to add.
Add a double attribute for the specified key
Return
Same BatchEventAttributes instance, for chaining
Parameters
Attribute key. Should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.
Double value to add.
Add a integer attribute for the specified key
Return
Same BatchEventAttributes instance, for chaining
Parameters
Attribute key. Should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.
Integer value to add.
Add a long attribute for the specified key
Return
Same BatchEventAttributes instance, for chaining
Parameters
Attribute key. Should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.
Long value to add.
Add a boolean attribute for the specified key
Return
Same BatchEventAttributes instance, for chaining
Parameters
Attribute key. Should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.
Boolean value to add.
Add a date attribute for the specified key
Return
Same BatchEventAttributes instance, for chaining
Parameters
Attribute key. Should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.
Date value to add.
Add an object attribute for the specified key
Return
Same BatchEventAttributes instance, for chaining
Parameters
Attribute key. Should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.
BatchEventAttributes value to add.