Interface ListDevicesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDevicesResponse.Builder,ListDevicesResponse>,DeviceFarmResponse.Builder,SdkBuilder<ListDevicesResponse.Builder,ListDevicesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDevicesResponse
public static interface ListDevicesResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListDevicesResponse.Builder,ListDevicesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDevicesResponse.Builderdevices(Collection<Device> devices)Information about the devices.ListDevicesResponse.Builderdevices(Consumer<Device.Builder>... devices)Information about the devices.ListDevicesResponse.Builderdevices(Device... devices)Information about the devices.ListDevicesResponse.BuildernextToken(String nextToken)If the number of items that are returned is significantly large, this is an identifier that is also returned.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.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
-
devices
ListDevicesResponse.Builder devices(Collection<Device> devices)
Information about the devices.
- Parameters:
devices- Information about the devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
ListDevicesResponse.Builder devices(Device... devices)
Information about the devices.
- Parameters:
devices- Information about the devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
ListDevicesResponse.Builder devices(Consumer<Device.Builder>... devices)
Information about the devices.
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 to#devices(List.) - Parameters:
devices- a consumer that will call methods onDevice.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#devices(java.util.Collection)
-
nextToken
ListDevicesResponse.Builder nextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
- Parameters:
nextToken- If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-