Interface DeviceDefinitionVersion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeviceDefinitionVersion.Builder,
,DeviceDefinitionVersion> SdkBuilder<DeviceDefinitionVersion.Builder,
,DeviceDefinitionVersion> SdkPojo
- Enclosing class:
DeviceDefinitionVersion
public static interface DeviceDefinitionVersion.Builder
extends SdkPojo, CopyableBuilder<DeviceDefinitionVersion.Builder,DeviceDefinitionVersion>
-
Method Summary
Modifier and TypeMethodDescriptiondevices
(Collection<Device> devices) A list of devices in the definition version.devices
(Consumer<Device.Builder>... devices) A list of devices in the definition version.A list of devices in the definition version.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, sdkFields
-
Method Details
-
devices
A list of devices in the definition version.- Parameters:
devices
- A list of devices in the definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
A list of devices in the definition version.- Parameters:
devices
- A list of devices in the definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
A list of devices in the definition version. This is a convenience method that creates an instance of theDevice.Builder
avoiding the need to create one manually viaDevice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevices(List<Device>)
.- Parameters:
devices
- 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:
-