Interface ListProvisioningTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProvisioningTemplatesResponse.Builder,
,ListProvisioningTemplatesResponse> IotResponse.Builder
,SdkBuilder<ListProvisioningTemplatesResponse.Builder,
,ListProvisioningTemplatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProvisioningTemplatesResponse
public static interface ListProvisioningTemplatesResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListProvisioningTemplatesResponse.Builder,ListProvisioningTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token to retrieve the next set of results.templates
(Collection<ProvisioningTemplateSummary> templates) A list of provisioning templatestemplates
(Consumer<ProvisioningTemplateSummary.Builder>... templates) A list of provisioning templatestemplates
(ProvisioningTemplateSummary... templates) A list of provisioning templatesMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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
-
templates
ListProvisioningTemplatesResponse.Builder templates(Collection<ProvisioningTemplateSummary> templates) A list of provisioning templates
- Parameters:
templates
- A list of provisioning templates- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
A list of provisioning templates
- Parameters:
templates
- A list of provisioning templates- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
ListProvisioningTemplatesResponse.Builder templates(Consumer<ProvisioningTemplateSummary.Builder>... templates) A list of provisioning templates
This is a convenience method that creates an instance of theProvisioningTemplateSummary.Builder
avoiding the need to create one manually viaProvisioningTemplateSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemplates(List<ProvisioningTemplateSummary>)
.- Parameters:
templates
- a consumer that will call methods onProvisioningTemplateSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to retrieve the next set of results.
- Parameters:
nextToken
- A token to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-