Interface DescribeJobTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeJobTemplateResponse.Builder,
,DescribeJobTemplateResponse> IotResponse.Builder
,SdkBuilder<DescribeJobTemplateResponse.Builder,
,DescribeJobTemplateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeJobTemplateResponse
-
Method Summary
Modifier and TypeMethodDescriptionabortConfig
(Consumer<AbortConfig.Builder> abortConfig) Sets the value of the AbortConfig property for this object.abortConfig
(AbortConfig abortConfig) Sets the value of the AbortConfig property for this object.The time, in seconds since the epoch, when the job template was created.description
(String description) A description of the job template.destinationPackageVersions
(String... destinationPackageVersions) The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.destinationPackageVersions
(Collection<String> destinationPackageVersions) The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.The job document.documentSource
(String documentSource) An S3 link to the job document.jobExecutionsRetryConfig
(Consumer<JobExecutionsRetryConfig.Builder> jobExecutionsRetryConfig) The configuration that determines how many retries are allowed for each failure type for a job.jobExecutionsRetryConfig
(JobExecutionsRetryConfig jobExecutionsRetryConfig) The configuration that determines how many retries are allowed for each failure type for a job.jobExecutionsRolloutConfig
(Consumer<JobExecutionsRolloutConfig.Builder> jobExecutionsRolloutConfig) Sets the value of the JobExecutionsRolloutConfig property for this object.jobExecutionsRolloutConfig
(JobExecutionsRolloutConfig jobExecutionsRolloutConfig) Sets the value of the JobExecutionsRolloutConfig property for this object.jobTemplateArn
(String jobTemplateArn) The ARN of the job template.jobTemplateId
(String jobTemplateId) The unique identifier of the job template.maintenanceWindows
(Collection<MaintenanceWindow> maintenanceWindows) Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.maintenanceWindows
(Consumer<MaintenanceWindow.Builder>... maintenanceWindows) Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.maintenanceWindows
(MaintenanceWindow... maintenanceWindows) Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.presignedUrlConfig
(Consumer<PresignedUrlConfig.Builder> presignedUrlConfig) Sets the value of the PresignedUrlConfig property for this object.presignedUrlConfig
(PresignedUrlConfig presignedUrlConfig) Sets the value of the PresignedUrlConfig property for this object.timeoutConfig
(Consumer<TimeoutConfig.Builder> timeoutConfig) Sets the value of the TimeoutConfig property for this object.timeoutConfig
(TimeoutConfig timeoutConfig) Sets the value of the TimeoutConfig property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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
-
jobTemplateArn
The ARN of the job template.
- Parameters:
jobTemplateArn
- The ARN of the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTemplateId
The unique identifier of the job template.
- Parameters:
jobTemplateId
- The unique identifier of the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the job template.
- Parameters:
description
- A description of the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentSource
An S3 link to the job document.
- Parameters:
documentSource
- An S3 link to the job document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
document
The job document.
- Parameters:
document
- The job document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time, in seconds since the epoch, when the job template was created.
- Parameters:
createdAt
- The time, in seconds since the epoch, when the job template was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
presignedUrlConfig
Sets the value of the PresignedUrlConfig property for this object.- Parameters:
presignedUrlConfig
- The new value for the PresignedUrlConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
presignedUrlConfig
default DescribeJobTemplateResponse.Builder presignedUrlConfig(Consumer<PresignedUrlConfig.Builder> presignedUrlConfig) Sets the value of the PresignedUrlConfig property for this object. This is a convenience method that creates an instance of thePresignedUrlConfig.Builder
avoiding the need to create one manually viaPresignedUrlConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topresignedUrlConfig(PresignedUrlConfig)
.- Parameters:
presignedUrlConfig
- a consumer that will call methods onPresignedUrlConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobExecutionsRolloutConfig
DescribeJobTemplateResponse.Builder jobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig) Sets the value of the JobExecutionsRolloutConfig property for this object.- Parameters:
jobExecutionsRolloutConfig
- The new value for the JobExecutionsRolloutConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobExecutionsRolloutConfig
default DescribeJobTemplateResponse.Builder jobExecutionsRolloutConfig(Consumer<JobExecutionsRolloutConfig.Builder> jobExecutionsRolloutConfig) Sets the value of the JobExecutionsRolloutConfig property for this object. This is a convenience method that creates an instance of theJobExecutionsRolloutConfig.Builder
avoiding the need to create one manually viaJobExecutionsRolloutConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobExecutionsRolloutConfig(JobExecutionsRolloutConfig)
.- Parameters:
jobExecutionsRolloutConfig
- a consumer that will call methods onJobExecutionsRolloutConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
abortConfig
Sets the value of the AbortConfig property for this object.- Parameters:
abortConfig
- The new value for the AbortConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
abortConfig
Sets the value of the AbortConfig property for this object. This is a convenience method that creates an instance of theAbortConfig.Builder
avoiding the need to create one manually viaAbortConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toabortConfig(AbortConfig)
.- Parameters:
abortConfig
- a consumer that will call methods onAbortConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeoutConfig
Sets the value of the TimeoutConfig property for this object.- Parameters:
timeoutConfig
- The new value for the TimeoutConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutConfig
default DescribeJobTemplateResponse.Builder timeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig) Sets the value of the TimeoutConfig property for this object. This is a convenience method that creates an instance of theTimeoutConfig.Builder
avoiding the need to create one manually viaTimeoutConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimeoutConfig(TimeoutConfig)
.- Parameters:
timeoutConfig
- a consumer that will call methods onTimeoutConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobExecutionsRetryConfig
DescribeJobTemplateResponse.Builder jobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig) The configuration that determines how many retries are allowed for each failure type for a job.
- Parameters:
jobExecutionsRetryConfig
- The configuration that determines how many retries are allowed for each failure type for a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobExecutionsRetryConfig
default DescribeJobTemplateResponse.Builder jobExecutionsRetryConfig(Consumer<JobExecutionsRetryConfig.Builder> jobExecutionsRetryConfig) The configuration that determines how many retries are allowed for each failure type for a job.
This is a convenience method that creates an instance of theJobExecutionsRetryConfig.Builder
avoiding the need to create one manually viaJobExecutionsRetryConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobExecutionsRetryConfig(JobExecutionsRetryConfig)
.- Parameters:
jobExecutionsRetryConfig
- a consumer that will call methods onJobExecutionsRetryConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenanceWindows
DescribeJobTemplateResponse.Builder maintenanceWindows(Collection<MaintenanceWindow> maintenanceWindows) Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.
- Parameters:
maintenanceWindows
- Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindows
Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.
- Parameters:
maintenanceWindows
- Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenanceWindows
DescribeJobTemplateResponse.Builder maintenanceWindows(Consumer<MaintenanceWindow.Builder>... maintenanceWindows) Allows you to configure an optional maintenance window for the rollout of a job document to all devices in the target group for a job.
This is a convenience method that creates an instance of theMaintenanceWindow.Builder
avoiding the need to create one manually viaMaintenanceWindow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaintenanceWindows(List<MaintenanceWindow>)
.- Parameters:
maintenanceWindows
- a consumer that will call methods onMaintenanceWindow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationPackageVersions
DescribeJobTemplateResponse.Builder destinationPackageVersions(Collection<String> destinationPackageVersions) The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
- Parameters:
destinationPackageVersions
- The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle.Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPackageVersions
DescribeJobTemplateResponse.Builder destinationPackageVersions(String... destinationPackageVersions) The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
- Parameters:
destinationPackageVersions
- The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. The package version must be in either the Published or Deprecated state when the job deploys. For more information, see Package version lifecycle.Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-