Interface SendManagedThingCommandRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendManagedThingCommandRequest.Builder,,SendManagedThingCommandRequest> IotManagedIntegrationsRequest.Builder,SdkBuilder<SendManagedThingCommandRequest.Builder,,SendManagedThingCommandRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SendManagedThingCommandRequest
@Mutable
@NotThreadSafe
public static interface SendManagedThingCommandRequest.Builder
extends IotManagedIntegrationsRequest.Builder, SdkPojo, CopyableBuilder<SendManagedThingCommandRequest.Builder,SendManagedThingCommandRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaccountAssociationId(String accountAssociationId) The identifier of the account association to use when sending a command to a managed thing.connectorAssociationId(String connectorAssociationId) Deprecated.ConnectorAssociationId has been deprecatedendpoints(Collection<CommandEndpoint> endpoints) The device endpoint.endpoints(Consumer<CommandEndpoint.Builder>... endpoints) The device endpoint.endpoints(CommandEndpoint... endpoints) The device endpoint.managedThingId(String managedThingId) The id of the device.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.iotmanagedintegrations.model.IotManagedIntegrationsRequest.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
-
managedThingId
The id of the device.
- Parameters:
managedThingId- The id of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The device endpoint.
- Parameters:
endpoints- The device endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The device endpoint.
- Parameters:
endpoints- The device endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The device endpoint.
This is a convenience method that creates an instance of theCommandEndpoint.Builderavoiding the need to create one manually viaCommandEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoints(List<CommandEndpoint>).- Parameters:
endpoints- a consumer that will call methods onCommandEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectorAssociationId
@Deprecated SendManagedThingCommandRequest.Builder connectorAssociationId(String connectorAssociationId) Deprecated.ConnectorAssociationId has been deprecatedThe ID tracking the current discovery process for one connector association.
- Parameters:
connectorAssociationId- The ID tracking the current discovery process for one connector association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountAssociationId
The identifier of the account association to use when sending a command to a managed thing.
- Parameters:
accountAssociationId- The identifier of the account association to use when sending a command to a managed thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SendManagedThingCommandRequest.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
SendManagedThingCommandRequest.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.
-