Interface GetDeviceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDeviceResponse.Builder,GetDeviceResponse>,SdkBuilder<GetDeviceResponse.Builder,GetDeviceResponse>,SdkPojo,SdkResponse.Builder,WorkSpacesThinClientResponse.Builder
- Enclosing class:
- GetDeviceResponse
public static interface GetDeviceResponse.Builder extends WorkSpacesThinClientResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceResponse.Builder,GetDeviceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetDeviceResponse.Builderdevice(Consumer<Device.Builder> device)Describes an device.GetDeviceResponse.Builderdevice(Device device)Describes an device.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.workspacesthinclient.model.WorkSpacesThinClientResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
device
GetDeviceResponse.Builder device(Device device)
Describes an device.
- Parameters:
device- Describes an device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
default GetDeviceResponse.Builder device(Consumer<Device.Builder> device)
Describes an device.
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 todevice(Device).- Parameters:
device- 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:
device(Device)
-
-