Interface CreateDevicePoolResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDevicePoolResponse.Builder,
,CreateDevicePoolResponse> DeviceFarmResponse.Builder
,SdkBuilder<CreateDevicePoolResponse.Builder,
,CreateDevicePoolResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateDevicePoolResponse
public static interface CreateDevicePoolResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<CreateDevicePoolResponse.Builder,CreateDevicePoolResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateDevicePoolResponse.Builder
devicePool
(Consumer<DevicePool.Builder> devicePool) The newly created device pool.devicePool
(DevicePool devicePool) The newly created device pool.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 Details
-
devicePool
The newly created device pool.
- Parameters:
devicePool
- The newly created device pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePool
The newly created device pool.
This is a convenience method that creates an instance of theDevicePool.Builder
avoiding the need to create one manually viaDevicePool.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevicePool(DevicePool)
.- Parameters:
devicePool
- a consumer that will call methods onDevicePool.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-