Interface GetOtaTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetOtaTaskResponse.Builder,
,GetOtaTaskResponse> IotManagedIntegrationsResponse.Builder
,SdkBuilder<GetOtaTaskResponse.Builder,
,GetOtaTaskResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetOtaTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp value of when the over-the-air (OTA) task was created.description
(String description) The description of the over-the-air (OTA) task.lastUpdatedAt
(Instant lastUpdatedAt) The timestamp value of when the over-the-air (OTA) task was last updated at.otaMechanism
(String otaMechanism) The deployment mechanism for the over-the-air (OTA) task.otaMechanism
(OtaMechanism otaMechanism) The deployment mechanism for the over-the-air (OTA) task.default GetOtaTaskResponse.Builder
otaSchedulingConfig
(Consumer<OtaTaskSchedulingConfig.Builder> otaSchedulingConfig) Sets the value of the OtaSchedulingConfig property for this object.otaSchedulingConfig
(OtaTaskSchedulingConfig otaSchedulingConfig) Sets the value of the OtaSchedulingConfig property for this object.otaTargetQueryString
(String otaTargetQueryString) The query string to add things to the thing group.default GetOtaTaskResponse.Builder
otaTaskExecutionRetryConfig
(Consumer<OtaTaskExecutionRetryConfig.Builder> otaTaskExecutionRetryConfig) Sets the value of the OtaTaskExecutionRetryConfig property for this object.otaTaskExecutionRetryConfig
(OtaTaskExecutionRetryConfig otaTaskExecutionRetryConfig) Sets the value of the OtaTaskExecutionRetryConfig property for this object.The frequency type for the over-the-air (OTA) task.The frequency type for the over-the-air (OTA) task.The connection protocol the over-the-air (OTA) task uses to update the device.protocol
(OtaProtocol protocol) The connection protocol the over-the-air (OTA) task uses to update the device.The URL to the Amazon S3 bucket where the over-the-air (OTA) task is stored.The status of the over-the-air (OTA) task.The status of the over-the-air (OTA) task.A set of key/value pairs that are used to manage the over-the-air (OTA) task.The device targeted for the over-the-air (OTA) task.target
(Collection<String> target) The device targeted for the over-the-air (OTA) task.The Amazon Resource Name (ARN) of the over-the-air (OTA) tasktaskConfigurationId
(String taskConfigurationId) The identifier for the over-the-air (OTA) task configuration.The id of the over-the-air (OTA) task.default GetOtaTaskResponse.Builder
taskProcessingDetails
(Consumer<TaskProcessingDetails.Builder> taskProcessingDetails) The processing details of all over-the-air (OTA) tasks.taskProcessingDetails
(TaskProcessingDetails taskProcessingDetails) The processing details of all over-the-air (OTA) tasks.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
taskId
The id of the over-the-air (OTA) task.
- Parameters:
taskId
- The id of the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskArn
The Amazon Resource Name (ARN) of the over-the-air (OTA) task
- Parameters:
taskArn
- The Amazon Resource Name (ARN) of the over-the-air (OTA) task- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the over-the-air (OTA) task.
- Parameters:
description
- The description of the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Url
The URL to the Amazon S3 bucket where the over-the-air (OTA) task is stored.
- Parameters:
s3Url
- The URL to the Amazon S3 bucket where the over-the-air (OTA) task is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The connection protocol the over-the-air (OTA) task uses to update the device.
- Parameters:
protocol
- The connection protocol the over-the-air (OTA) task uses to update the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The connection protocol the over-the-air (OTA) task uses to update the device.
- Parameters:
protocol
- The connection protocol the over-the-air (OTA) task uses to update the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otaType
The frequency type for the over-the-air (OTA) task.
- Parameters:
otaType
- The frequency type for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otaType
The frequency type for the over-the-air (OTA) task.
- Parameters:
otaType
- The frequency type for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otaTargetQueryString
The query string to add things to the thing group.
- Parameters:
otaTargetQueryString
- The query string to add things to the thing group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otaMechanism
The deployment mechanism for the over-the-air (OTA) task.
- Parameters:
otaMechanism
- The deployment mechanism for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otaMechanism
The deployment mechanism for the over-the-air (OTA) task.
- Parameters:
otaMechanism
- The deployment mechanism for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
The device targeted for the over-the-air (OTA) task.
- Parameters:
target
- The device targeted for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The device targeted for the over-the-air (OTA) task.
- Parameters:
target
- The device targeted for the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp value of when the over-the-air (OTA) task was created.
- Parameters:
createdAt
- The timestamp value of when the over-the-air (OTA) task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The timestamp value of when the over-the-air (OTA) task was last updated at.
- Parameters:
lastUpdatedAt
- The timestamp value of when the over-the-air (OTA) task was last updated at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskConfigurationId
The identifier for the over-the-air (OTA) task configuration.
- Parameters:
taskConfigurationId
- The identifier for the over-the-air (OTA) task configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskProcessingDetails
The processing details of all over-the-air (OTA) tasks.
- Parameters:
taskProcessingDetails
- The processing details of all over-the-air (OTA) tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskProcessingDetails
default GetOtaTaskResponse.Builder taskProcessingDetails(Consumer<TaskProcessingDetails.Builder> taskProcessingDetails) The processing details of all over-the-air (OTA) tasks.
This is a convenience method that creates an instance of theTaskProcessingDetails.Builder
avoiding the need to create one manually viaTaskProcessingDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskProcessingDetails(TaskProcessingDetails)
.- Parameters:
taskProcessingDetails
- a consumer that will call methods onTaskProcessingDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otaSchedulingConfig
Sets the value of the OtaSchedulingConfig property for this object.- Parameters:
otaSchedulingConfig
- The new value for the OtaSchedulingConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otaSchedulingConfig
default GetOtaTaskResponse.Builder otaSchedulingConfig(Consumer<OtaTaskSchedulingConfig.Builder> otaSchedulingConfig) Sets the value of the OtaSchedulingConfig property for this object. This is a convenience method that creates an instance of theOtaTaskSchedulingConfig.Builder
avoiding the need to create one manually viaOtaTaskSchedulingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tootaSchedulingConfig(OtaTaskSchedulingConfig)
.- Parameters:
otaSchedulingConfig
- a consumer that will call methods onOtaTaskSchedulingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otaTaskExecutionRetryConfig
GetOtaTaskResponse.Builder otaTaskExecutionRetryConfig(OtaTaskExecutionRetryConfig otaTaskExecutionRetryConfig) Sets the value of the OtaTaskExecutionRetryConfig property for this object.- Parameters:
otaTaskExecutionRetryConfig
- The new value for the OtaTaskExecutionRetryConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otaTaskExecutionRetryConfig
default GetOtaTaskResponse.Builder otaTaskExecutionRetryConfig(Consumer<OtaTaskExecutionRetryConfig.Builder> otaTaskExecutionRetryConfig) Sets the value of the OtaTaskExecutionRetryConfig property for this object. This is a convenience method that creates an instance of theOtaTaskExecutionRetryConfig.Builder
avoiding the need to create one manually viaOtaTaskExecutionRetryConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tootaTaskExecutionRetryConfig(OtaTaskExecutionRetryConfig)
.- Parameters:
otaTaskExecutionRetryConfig
- a consumer that will call methods onOtaTaskExecutionRetryConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the over-the-air (OTA) task.
- Parameters:
status
- The status of the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the over-the-air (OTA) task.
- Parameters:
status
- The status of the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A set of key/value pairs that are used to manage the over-the-air (OTA) task.
- Parameters:
tags
- A set of key/value pairs that are used to manage the over-the-air (OTA) task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-