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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateDevicePoolResponse.BuilderdevicePool(Consumer<DevicePool.Builder> devicePool)The newly created device pool.CreateDevicePoolResponse.BuilderdevicePool(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 Detail
-
devicePool
CreateDevicePoolResponse.Builder devicePool(DevicePool 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
default CreateDevicePoolResponse.Builder devicePool(Consumer<DevicePool.Builder> devicePool)
The newly created device pool.
This is a convenience method that creates an instance of theDevicePool.Builderavoiding the need to create one manually viaDevicePool.builder().When the
Consumercompletes,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:
devicePool(DevicePool)
-
-