Interface SearchDevicesResponse.Builder
-
- All Superinterfaces:
AlexaForBusinessResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<SearchDevicesResponse.Builder,SearchDevicesResponse>,SdkBuilder<SearchDevicesResponse.Builder,SearchDevicesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchDevicesResponse
public static interface SearchDevicesResponse.Builder extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<SearchDevicesResponse.Builder,SearchDevicesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchDevicesResponse.Builderdevices(Collection<DeviceData> devices)The devices that meet the specified set of filter criteria, in sort order.SearchDevicesResponse.Builderdevices(Consumer<DeviceData.Builder>... devices)The devices that meet the specified set of filter criteria, in sort order.SearchDevicesResponse.Builderdevices(DeviceData... devices)The devices that meet the specified set of filter criteria, in sort order.SearchDevicesResponse.BuildernextToken(String nextToken)The token returned to indicate that there is more data available.SearchDevicesResponse.BuildertotalCount(Integer totalCount)The total number of devices returned.-
Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
devices
SearchDevicesResponse.Builder devices(Collection<DeviceData> devices)
The devices that meet the specified set of filter criteria, in sort order.
- Parameters:
devices- The devices that meet the specified set of filter criteria, in sort order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
SearchDevicesResponse.Builder devices(DeviceData... devices)
The devices that meet the specified set of filter criteria, in sort order.
- Parameters:
devices- The devices that meet the specified set of filter criteria, in sort order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
SearchDevicesResponse.Builder devices(Consumer<DeviceData.Builder>... devices)
The devices that meet the specified set of filter criteria, in sort order.
This is a convenience method that creates an instance of theDeviceData.Builderavoiding the need to create one manually viaDeviceData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#devices(List.) - Parameters:
devices- a consumer that will call methods onDeviceData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#devices(java.util.Collection)
-
nextToken
SearchDevicesResponse.Builder nextToken(String nextToken)
The token returned to indicate that there is more data available.
- Parameters:
nextToken- The token returned to indicate that there is more data available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalCount
SearchDevicesResponse.Builder totalCount(Integer totalCount)
The total number of devices returned.
- Parameters:
totalCount- The total number of devices returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-