Interface ListDevicesForUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDevicesForUserResponse.Builder,,ListDevicesForUserResponse> SdkBuilder<ListDevicesForUserResponse.Builder,,ListDevicesForUserResponse> SdkPojo,SdkResponse.Builder,WickrResponse.Builder
- Enclosing class:
ListDevicesForUserResponse
@Mutable
@NotThreadSafe
public static interface ListDevicesForUserResponse.Builder
extends WickrResponse.Builder, SdkPojo, CopyableBuilder<ListDevicesForUserResponse.Builder,ListDevicesForUserResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondevices(Collection<BasicDeviceObject> devices) A list of device objects associated with the user within the current page.devices(Consumer<BasicDeviceObject.Builder>... devices) A list of device objects associated with the user within the current page.devices(BasicDeviceObject... devices) A list of device objects associated with the user within the current page.The token to use for retrieving the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wickr.model.WickrResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The token to use for retrieving the next page of results. If this is not present, there are no more results.
- Parameters:
nextToken- The token to use for retrieving the next page of results. If this is not present, there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
A list of device objects associated with the user within the current page.
- Parameters:
devices- A list of device objects associated with the user within the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
A list of device objects associated with the user within the current page.
- Parameters:
devices- A list of device objects associated with the user within the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
A list of device objects associated with the user within the current page.
This is a convenience method that creates an instance of theBasicDeviceObject.Builderavoiding the need to create one manually viaBasicDeviceObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todevices(List<BasicDeviceObject>).- Parameters:
devices- a consumer that will call methods onBasicDeviceObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-