public static class Attribute.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Attribute |
build() |
Attribute.Builder |
setAction(AttributeAction action)
Indicates that you want to set or remove an attribute on the audience.
|
Attribute.Builder |
setKey(java.lang.String key)
The attribute key you want to set.
|
Attribute.Builder |
setTimeStamp(DateTime timeStamp)
Set the timestamp when the attribute changed.
|
Attribute.Builder |
setValue(DateTime value)
Sets the value as a string representation of the DateTime object.
|
Attribute.Builder |
setValue(java.lang.String value)
The value that you want to set for an attribute.
|
public Attribute.Builder setAction(AttributeAction action)
action
- AttributeActionpublic Attribute.Builder setKey(java.lang.String key)
key
- Stringpublic Attribute.Builder setTimeStamp(DateTime timeStamp)
timeStamp
- DateTimepublic Attribute.Builder setValue(java.lang.String value)
value
- Stringpublic Attribute.Builder setValue(DateTime value)
value
- DateTimepublic Attribute build()