Interface ListOtaTasksResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListOtaTasksResponse.Builder,
,ListOtaTasksResponse> IotManagedIntegrationsResponse.Builder
,SdkBuilder<ListOtaTasksResponse.Builder,
,ListOtaTasksResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListOtaTasksResponse
@Mutable
@NotThreadSafe
public static interface ListOtaTasksResponse.Builder
extends IotManagedIntegrationsResponse.Builder, SdkPojo, CopyableBuilder<ListOtaTasksResponse.Builder,ListOtaTasksResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that can be used to retrieve the next set of results.tasks
(Collection<OtaTaskSummary> tasks) A list of all of the over-the-air (OTA) tasks.tasks
(Consumer<OtaTaskSummary.Builder>... tasks) A list of all of the over-the-air (OTA) tasks.tasks
(OtaTaskSummary... tasks) A list of all of the over-the-air (OTA) tasks.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
tasks
A list of all of the over-the-air (OTA) tasks.
- Parameters:
tasks
- A list of all of the over-the-air (OTA) tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
A list of all of the over-the-air (OTA) tasks.
- Parameters:
tasks
- A list of all of the over-the-air (OTA) tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
A list of all of the over-the-air (OTA) tasks.
This is a convenience method that creates an instance of theOtaTaskSummary.Builder
avoiding the need to create one manually viaOtaTaskSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totasks(List<OtaTaskSummary>)
.- Parameters:
tasks
- a consumer that will call methods onOtaTaskSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that can be used to retrieve the next set of results.
- Parameters:
nextToken
- A token that can be used to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-