Interface ListCoreDevicesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCoreDevicesResponse.Builder,
,ListCoreDevicesResponse> GreengrassV2Response.Builder
,SdkBuilder<ListCoreDevicesResponse.Builder,
,ListCoreDevicesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCoreDevicesResponse
public static interface ListCoreDevicesResponse.Builder
extends GreengrassV2Response.Builder, SdkPojo, CopyableBuilder<ListCoreDevicesResponse.Builder,ListCoreDevicesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncoreDevices
(Collection<CoreDevice> coreDevices) A list that summarizes each core device.coreDevices
(Consumer<CoreDevice.Builder>... coreDevices) A list that summarizes each core device.coreDevices
(CoreDevice... coreDevices) A list that summarizes each core device.The token for the next set of results, or null if there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Response.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
-
coreDevices
A list that summarizes each core device.
- Parameters:
coreDevices
- A list that summarizes each core device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreDevices
A list that summarizes each core device.
- Parameters:
coreDevices
- A list that summarizes each core device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreDevices
A list that summarizes each core device.
This is a convenience method that creates an instance of theCoreDevice.Builder
avoiding the need to create one manually viaCoreDevice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocoreDevices(List<CoreDevice>)
.- Parameters:
coreDevices
- a consumer that will call methods onCoreDevice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results, or null if there are no additional results.
- Parameters:
nextToken
- The token for the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-