Interface ListDevicesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDevicesResponse.Builder,ListDevicesResponse>,SdkBuilder<ListDevicesResponse.Builder,ListDevicesResponse>,SdkPojo,SdkResponse.Builder,WorkLinkResponse.Builder
- Enclosing class:
- ListDevicesResponse
public static interface ListDevicesResponse.Builder extends WorkLinkResponse.Builder, SdkPojo, CopyableBuilder<ListDevicesResponse.Builder,ListDevicesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDevicesResponse.Builderdevices(Collection<DeviceSummary> devices)Information about the devices.ListDevicesResponse.Builderdevices(Consumer<DeviceSummary.Builder>... devices)Information about the devices.ListDevicesResponse.Builderdevices(DeviceSummary... devices)Information about the devices.ListDevicesResponse.BuildernextToken(String nextToken)The pagination token used to retrieve the next page of results for this operation.-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.worklink.model.WorkLinkResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
devices
ListDevicesResponse.Builder devices(Collection<DeviceSummary> devices)
Information about the devices.
- Parameters:
devices- Information about the devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
ListDevicesResponse.Builder devices(DeviceSummary... devices)
Information about the devices.
- Parameters:
devices- Information about the devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
ListDevicesResponse.Builder devices(Consumer<DeviceSummary.Builder>... devices)
Information about the devices.
This is a convenience method that creates an instance of theDeviceSummary.Builderavoiding the need to create one manually viaDeviceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#devices(List.) - Parameters:
devices- a consumer that will call methods onDeviceSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#devices(java.util.Collection)
-
nextToken
ListDevicesResponse.Builder nextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken- The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-