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
copyMethods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsResponse.Builder
build, responseMetadata, responseMetadataMethods 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, 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.Builderavoiding the need to create one manually viaOtaTaskSummary.builder().When the
Consumercompletes,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.
-