Interface BatchAssociateClientDeviceWithCoreDeviceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchAssociateClientDeviceWithCoreDeviceResponse.Builder,
,BatchAssociateClientDeviceWithCoreDeviceResponse> GreengrassV2Response.Builder
,SdkBuilder<BatchAssociateClientDeviceWithCoreDeviceResponse.Builder,
,BatchAssociateClientDeviceWithCoreDeviceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchAssociateClientDeviceWithCoreDeviceResponse
public static interface BatchAssociateClientDeviceWithCoreDeviceResponse.Builder
extends GreengrassV2Response.Builder, SdkPojo, CopyableBuilder<BatchAssociateClientDeviceWithCoreDeviceResponse.Builder,BatchAssociateClientDeviceWithCoreDeviceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrorEntries
(Collection<AssociateClientDeviceWithCoreDeviceErrorEntry> errorEntries) The list of any errors for the entries in the request.errorEntries
(Consumer<AssociateClientDeviceWithCoreDeviceErrorEntry.Builder>... errorEntries) The list of any errors for the entries in the request.errorEntries
(AssociateClientDeviceWithCoreDeviceErrorEntry... errorEntries) The list of any errors for the entries in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Response.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
-
errorEntries
BatchAssociateClientDeviceWithCoreDeviceResponse.Builder errorEntries(Collection<AssociateClientDeviceWithCoreDeviceErrorEntry> errorEntries) The list of any errors for the entries in the request. Each error entry contains the name of the IoT thing that failed to associate.
- Parameters:
errorEntries
- The list of any errors for the entries in the request. Each error entry contains the name of the IoT thing that failed to associate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorEntries
BatchAssociateClientDeviceWithCoreDeviceResponse.Builder errorEntries(AssociateClientDeviceWithCoreDeviceErrorEntry... errorEntries) The list of any errors for the entries in the request. Each error entry contains the name of the IoT thing that failed to associate.
- Parameters:
errorEntries
- The list of any errors for the entries in the request. Each error entry contains the name of the IoT thing that failed to associate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorEntries
BatchAssociateClientDeviceWithCoreDeviceResponse.Builder errorEntries(Consumer<AssociateClientDeviceWithCoreDeviceErrorEntry.Builder>... errorEntries) The list of any errors for the entries in the request. Each error entry contains the name of the IoT thing that failed to associate.
This is a convenience method that creates an instance of theAssociateClientDeviceWithCoreDeviceErrorEntry.Builder
avoiding the need to create one manually viaAssociateClientDeviceWithCoreDeviceErrorEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorEntries(List<AssociateClientDeviceWithCoreDeviceErrorEntry>)
.- Parameters:
errorEntries
- a consumer that will call methods onAssociateClientDeviceWithCoreDeviceErrorEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-