Interface DeviceEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeviceEvent.Builder,DeviceEvent>,SdkBuilder<DeviceEvent.Builder,DeviceEvent>,SdkPojo
- Enclosing class:
- DeviceEvent
public static interface DeviceEvent.Builder extends SdkPojo, CopyableBuilder<DeviceEvent.Builder,DeviceEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeviceEvent.Buildertimestamp(Instant timestamp)The time (in epoch) when the event occurred.DeviceEvent.Buildertype(String type)The type of device event.DeviceEvent.Buildertype(DeviceEventType type)The type of device event.DeviceEvent.Buildervalue(String value)The value of the event.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
type
DeviceEvent.Builder type(String type)
The type of device event.
- Parameters:
type- The type of device event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceEventType,DeviceEventType
-
type
DeviceEvent.Builder type(DeviceEventType type)
The type of device event.
- Parameters:
type- The type of device event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceEventType,DeviceEventType
-
value
DeviceEvent.Builder value(String value)
The value of the event.
- Parameters:
value- The value of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
DeviceEvent.Builder timestamp(Instant timestamp)
The time (in epoch) when the event occurred.
- Parameters:
timestamp- The time (in epoch) when the event occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-