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 SummaryModifier and TypeMethodDescriptiondefault DeviceEvent.Builderdevice(Consumer<Device.Builder> device) An object representing the device associated with the event.An object representing the device associated with the event.A serialized JSON object representing the device-type specific event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
deviceAn object representing the device associated with the event. - Parameters:
- device- An object representing the device associated with the event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
deviceAn object representing the device associated with the event. This is a convenience method that creates an instance of theDevice.Builderavoiding the need to create one manually viaDevice.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todevice(Device).- Parameters:
- device- a consumer that will call methods on- Device.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
stdEventA serialized JSON object representing the device-type specific event. - Parameters:
- stdEvent- A serialized JSON object representing the device-type specific event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-