Interface ListDevicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDevicesResponse.Builder,
,ListDevicesResponse> SdkBuilder<ListDevicesResponse.Builder,
,ListDevicesResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesThinClientResponse.Builder
- Enclosing class:
ListDevicesResponse
@Mutable
@NotThreadSafe
public static interface ListDevicesResponse.Builder
extends WorkSpacesThinClientResponse.Builder, SdkPojo, CopyableBuilder<ListDevicesResponse.Builder,ListDevicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondevices
(Collection<DeviceSummary> devices) Describes devices.devices
(Consumer<DeviceSummary.Builder>... devices) Describes devices.devices
(DeviceSummary... devices) Describes devices.IfnextToken
is returned, there are more results available.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 Details
-
devices
Describes devices.
- Parameters:
devices
- Describes devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
Describes devices.
- Parameters:
devices
- Describes devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
Describes devices.
This is a convenience method that creates an instance of theDeviceSummary.Builder
avoiding the need to create one manually viaDeviceSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevices(List<DeviceSummary>)
.- 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:
-
nextToken
If
nextToken
is returned, there are more results available. The value ofnextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.- Parameters:
nextToken
- IfnextToken
is returned, there are more results available. The value ofnextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-