Interface ListDevicesJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDevicesJobsResponse.Builder,
,ListDevicesJobsResponse> PanoramaResponse.Builder
,SdkBuilder<ListDevicesJobsResponse.Builder,
,ListDevicesJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDevicesJobsResponse
@Mutable
@NotThreadSafe
public static interface ListDevicesJobsResponse.Builder
extends PanoramaResponse.Builder, SdkPojo, CopyableBuilder<ListDevicesJobsResponse.Builder,ListDevicesJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondeviceJobs
(Collection<DeviceJob> deviceJobs) A list of jobs.deviceJobs
(Consumer<DeviceJob.Builder>... deviceJobs) A list of jobs.deviceJobs
(DeviceJob... deviceJobs) A list of jobs.A pagination token that's included if more results are available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.panorama.model.PanoramaResponse.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
-
deviceJobs
A list of jobs.
- Parameters:
deviceJobs
- A list of jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceJobs
A list of jobs.
- Parameters:
deviceJobs
- A list of jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceJobs
A list of jobs.
This is a convenience method that creates an instance of theDeviceJob.Builder
avoiding the need to create one manually viaDeviceJob.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceJobs(List<DeviceJob>)
.- Parameters:
deviceJobs
- a consumer that will call methods onDeviceJob.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token that's included if more results are available.
- Parameters:
nextToken
- A pagination token that's included if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-