Interface ListJobTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListJobTemplatesResponse.Builder,,ListJobTemplatesResponse> IotResponse.Builder,SdkBuilder<ListJobTemplatesResponse.Builder,,ListJobTemplatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListJobTemplatesResponse
public static interface ListJobTemplatesResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListJobTemplatesResponse.Builder,ListJobTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionjobTemplates(Collection<JobTemplateSummary> jobTemplates) A list of objects that contain information about the job templates.jobTemplates(Consumer<JobTemplateSummary.Builder>... jobTemplates) A list of objects that contain information about the job templates.jobTemplates(JobTemplateSummary... jobTemplates) A list of objects that contain information about the job templates.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
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobTemplates
A list of objects that contain information about the job templates.
- Parameters:
jobTemplates- A list of objects that contain information about the job templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTemplates
A list of objects that contain information about the job templates.
- Parameters:
jobTemplates- A list of objects that contain information about the job templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTemplates
A list of objects that contain information about the job templates.
This is a convenience method that creates an instance of theJobTemplateSummary.Builderavoiding the need to create one manually viaJobTemplateSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobTemplates(List<JobTemplateSummary>).- Parameters:
jobTemplates- a consumer that will call methods onJobTemplateSummary.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.
-