Interface ListDeviceIdentifiersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDeviceIdentifiersResponse.Builder,
,ListDeviceIdentifiersResponse> PrivateNetworksResponse.Builder
,SdkBuilder<ListDeviceIdentifiersResponse.Builder,
,ListDeviceIdentifiersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDeviceIdentifiersResponse
public static interface ListDeviceIdentifiersResponse.Builder
extends PrivateNetworksResponse.Builder, SdkPojo, CopyableBuilder<ListDeviceIdentifiersResponse.Builder,ListDeviceIdentifiersResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeviceIdentifiers
(Collection<DeviceIdentifier> deviceIdentifiers) Information about the device identifiers.deviceIdentifiers
(Consumer<DeviceIdentifier.Builder>... deviceIdentifiers) Information about the device identifiers.deviceIdentifiers
(DeviceIdentifier... deviceIdentifiers) Information about the device identifiers.The token for the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.privatenetworks.model.PrivateNetworksResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
deviceIdentifiers
ListDeviceIdentifiersResponse.Builder deviceIdentifiers(Collection<DeviceIdentifier> deviceIdentifiers) Information about the device identifiers.
- Parameters:
deviceIdentifiers
- Information about the device identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceIdentifiers
Information about the device identifiers.
- Parameters:
deviceIdentifiers
- Information about the device identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceIdentifiers
ListDeviceIdentifiersResponse.Builder deviceIdentifiers(Consumer<DeviceIdentifier.Builder>... deviceIdentifiers) Information about the device identifiers.
This is a convenience method that creates an instance of theDeviceIdentifier.Builder
avoiding the need to create one manually viaDeviceIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceIdentifiers(List<DeviceIdentifier>)
.- Parameters:
deviceIdentifiers
- a consumer that will call methods onDeviceIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next page of results.
- Parameters:
nextToken
- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-