Interface ListDeviceInstancesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDeviceInstancesResponse.Builder,ListDeviceInstancesResponse>,DeviceFarmResponse.Builder,SdkBuilder<ListDeviceInstancesResponse.Builder,ListDeviceInstancesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDeviceInstancesResponse
public static interface ListDeviceInstancesResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListDeviceInstancesResponse.Builder,ListDeviceInstancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDeviceInstancesResponse.BuilderdeviceInstances(Collection<DeviceInstance> deviceInstances)An object that contains information about your device instances.ListDeviceInstancesResponse.BuilderdeviceInstances(Consumer<DeviceInstance.Builder>... deviceInstances)An object that contains information about your device instances.ListDeviceInstancesResponse.BuilderdeviceInstances(DeviceInstance... deviceInstances)An object that contains information about your device instances.ListDeviceInstancesResponse.BuildernextToken(String nextToken)An identifier that can be used in the next call to this operation to return the next set of items in the list.-
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
-
deviceInstances
ListDeviceInstancesResponse.Builder deviceInstances(Collection<DeviceInstance> deviceInstances)
An object that contains information about your device instances.
- Parameters:
deviceInstances- An object that contains information about your device instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceInstances
ListDeviceInstancesResponse.Builder deviceInstances(DeviceInstance... deviceInstances)
An object that contains information about your device instances.
- Parameters:
deviceInstances- An object that contains information about your device instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceInstances
ListDeviceInstancesResponse.Builder deviceInstances(Consumer<DeviceInstance.Builder>... deviceInstances)
An object that contains information about your device instances.
This is a convenience method that creates an instance of theDeviceInstance.Builderavoiding the need to create one manually viaDeviceInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#deviceInstances(List.) - Parameters:
deviceInstances- a consumer that will call methods onDeviceInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#deviceInstances(java.util.Collection)
-
nextToken
ListDeviceInstancesResponse.Builder nextToken(String nextToken)
An identifier that can be used in the next call to this operation to return the next set of items in the list.
- Parameters:
nextToken- An identifier that can be used in the next 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.
-
-