Interface BatchAssociateClientDeviceWithCoreDeviceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchAssociateClientDeviceWithCoreDeviceRequest.Builder,,BatchAssociateClientDeviceWithCoreDeviceRequest> GreengrassV2Request.Builder,SdkBuilder<BatchAssociateClientDeviceWithCoreDeviceRequest.Builder,,BatchAssociateClientDeviceWithCoreDeviceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchAssociateClientDeviceWithCoreDeviceRequest
@Mutable
@NotThreadSafe
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAssociateClientDeviceWithCoreDeviceEntry.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-