Interface BatchAssociateClientDeviceWithCoreDeviceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchAssociateClientDeviceWithCoreDeviceRequest.Builder,
,BatchAssociateClientDeviceWithCoreDeviceRequest> GreengrassV2Request.Builder
,SdkBuilder<BatchAssociateClientDeviceWithCoreDeviceRequest.Builder,
,BatchAssociateClientDeviceWithCoreDeviceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
BatchAssociateClientDeviceWithCoreDeviceRequest
public static interface BatchAssociateClientDeviceWithCoreDeviceRequest.Builder
extends GreengrassV2Request.Builder, SdkPojo, CopyableBuilder<BatchAssociateClientDeviceWithCoreDeviceRequest.Builder,BatchAssociateClientDeviceWithCoreDeviceRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncoreDeviceThingName
(String coreDeviceThingName) The name of the core device.The list of client devices to associate.The list of client devices to associate.entries
(AssociateClientDeviceWithCoreDeviceEntry... entries) The list of client devices to associate.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
entries
BatchAssociateClientDeviceWithCoreDeviceRequest.Builder entries(Collection<AssociateClientDeviceWithCoreDeviceEntry> entries) The list of client devices to associate.
- Parameters:
entries
- The list of client devices to associate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
BatchAssociateClientDeviceWithCoreDeviceRequest.Builder entries(AssociateClientDeviceWithCoreDeviceEntry... entries) The list of client devices to associate.
- Parameters:
entries
- The list of client devices to associate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
BatchAssociateClientDeviceWithCoreDeviceRequest.Builder entries(Consumer<AssociateClientDeviceWithCoreDeviceEntry.Builder>... entries) The list of client devices to associate.
This is a convenience method that creates an instance of theAssociateClientDeviceWithCoreDeviceEntry.Builder
avoiding the need to create one manually viaAssociateClientDeviceWithCoreDeviceEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentries(List<AssociateClientDeviceWithCoreDeviceEntry>)
.- Parameters:
entries
- a consumer that will call methods onAssociateClientDeviceWithCoreDeviceEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
coreDeviceThingName
BatchAssociateClientDeviceWithCoreDeviceRequest.Builder coreDeviceThingName(String coreDeviceThingName) The name of the core device. This is also the name of the IoT thing.
- Parameters:
coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchAssociateClientDeviceWithCoreDeviceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchAssociateClientDeviceWithCoreDeviceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-