Interface GetDevicePoolResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDevicePoolResponse.Builder,,GetDevicePoolResponse> DeviceFarmResponse.Builder,SdkBuilder<GetDevicePoolResponse.Builder,,GetDevicePoolResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDevicePoolResponse
public static interface GetDevicePoolResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<GetDevicePoolResponse.Builder,GetDevicePoolResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetDevicePoolResponse.BuilderdevicePool(Consumer<DevicePool.Builder> devicePool) An object that contains information about the requested device pool.devicePool(DevicePool devicePool) An object that contains information about the requested device pool.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
devicePool
An object that contains information about the requested device pool.
- Parameters:
devicePool- An object that contains information about the requested device pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePool
An object that contains information about the requested 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:
-