Interface ListDeviceEventsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDeviceEventsResponse.Builder,ListDeviceEventsResponse>,Iot1ClickDevicesResponse.Builder,SdkBuilder<ListDeviceEventsResponse.Builder,ListDeviceEventsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDeviceEventsResponse
public static interface ListDeviceEventsResponse.Builder extends Iot1ClickDevicesResponse.Builder, SdkPojo, CopyableBuilder<ListDeviceEventsResponse.Builder,ListDeviceEventsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDeviceEventsResponse.Builderevents(Collection<DeviceEvent> events)An array of zero or more elements describing the event(s) associated with the device.ListDeviceEventsResponse.Builderevents(Consumer<DeviceEvent.Builder>... events)An array of zero or more elements describing the event(s) associated with the device.ListDeviceEventsResponse.Builderevents(DeviceEvent... events)An array of zero or more elements describing the event(s) associated with the device.ListDeviceEventsResponse.BuildernextToken(String nextToken)The token to retrieve the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot1clickdevices.model.Iot1ClickDevicesResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
events
ListDeviceEventsResponse.Builder events(Collection<DeviceEvent> events)
An array of zero or more elements describing the event(s) associated with the device.
- Parameters:
events- An array of zero or more elements describing the event(s) associated with the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
ListDeviceEventsResponse.Builder events(DeviceEvent... events)
An array of zero or more elements describing the event(s) associated with the device.
- Parameters:
events- An array of zero or more elements describing the event(s) associated with the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
ListDeviceEventsResponse.Builder events(Consumer<DeviceEvent.Builder>... events)
An array of zero or more elements describing the event(s) associated with the device.
This is a convenience method that creates an instance of theDeviceEvent.Builderavoiding the need to create one manually viaDeviceEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#events(List.) - Parameters:
events- a consumer that will call methods onDeviceEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#events(java.util.Collection)
-
nextToken
ListDeviceEventsResponse.Builder nextToken(String nextToken)
The token to retrieve the next set of results.
- Parameters:
nextToken- The token to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-