Interface DescribeJobTemplateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeJobTemplateResponse.Builder,DescribeJobTemplateResponse>
,IotResponse.Builder
,SdkBuilder<DescribeJobTemplateResponse.Builder,DescribeJobTemplateResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeJobTemplateResponse
public static interface DescribeJobTemplateResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeJobTemplateResponse.Builder,DescribeJobTemplateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeJobTemplateResponse.Builder
abortConfig(Consumer<AbortConfig.Builder> abortConfig)
Sets the value of the AbortConfig property for this object.DescribeJobTemplateResponse.Builder
abortConfig(AbortConfig abortConfig)
Sets the value of the AbortConfig property for this object.DescribeJobTemplateResponse.Builder
createdAt(Instant createdAt)
The time, in seconds since the epoch, when the job template was created.DescribeJobTemplateResponse.Builder
description(String description)
A description of the job template.DescribeJobTemplateResponse.Builder
destinationPackageVersions(String... destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.DescribeJobTemplateResponse.Builder
destinationPackageVersions(Collection<String> destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.DescribeJobTemplateResponse.Builder
document(String document)
The job document.DescribeJobTemplateResponse.Builder
documentSource(String documentSource)
An S3 link to the job document.default DescribeJobTemplateResponse.Builder
jobExecutionsRetryConfig(Consumer<JobExecutionsRetryConfig.Builder> jobExecutionsRetryConfig)
The configuration that determines how many retries are allowed for each failure type for a job.DescribeJobTemplateResponse.Builder
jobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
The configuration that determines how many retries are allowed for each failure type for a job.default DescribeJobTemplateResponse.Builder
jobExecutionsRolloutConfig(Consumer<JobExecutionsRolloutConfig.Builder> jobExecutionsRolloutConfig)
Sets the value of the JobExecutionsRolloutConfig property for this object.DescribeJobTemplateResponse.Builder
jobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Sets the value of the JobExecutionsRolloutConfig property for this object.DescribeJobTemplateResponse.Builder
jobTemplateArn(String jobTemplateArn)
The ARN of the job template.DescribeJobTemplateResponse.Builder
jobTemplateId(String jobTemplateId)
The unique identifier of the job template.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.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.DescribeJobTemplateResponse.Builder
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.default DescribeJobTemplateResponse.Builder
presignedUrlConfig(Consumer<PresignedUrlConfig.Builder> presignedUrlConfig)
Sets the value of the PresignedUrlConfig property for this object.DescribeJobTemplateResponse.Builder
presignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Sets the value of the PresignedUrlConfig property for this object.default DescribeJobTemplateResponse.Builder
timeoutConfig(Consumer<TimeoutConfig.Builder> timeoutConfig)
Sets the value of the TimeoutConfig property for this object.DescribeJobTemplateResponse.Builder
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
jobTemplateArn
DescribeJobTemplateResponse.Builder jobTemplateArn(String 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
DescribeJobTemplateResponse.Builder jobTemplateId(String 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
DescribeJobTemplateResponse.Builder description(String 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
DescribeJobTemplateResponse.Builder documentSource(String 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
DescribeJobTemplateResponse.Builder document(String 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
DescribeJobTemplateResponse.Builder createdAt(Instant 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
DescribeJobTemplateResponse.Builder presignedUrlConfig(PresignedUrlConfig 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:
presignedUrlConfig(PresignedUrlConfig)
-
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:
jobExecutionsRolloutConfig(JobExecutionsRolloutConfig)
-
abortConfig
DescribeJobTemplateResponse.Builder abortConfig(AbortConfig 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
default DescribeJobTemplateResponse.Builder abortConfig(Consumer<AbortConfig.Builder> 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:
abortConfig(AbortConfig)
-
timeoutConfig
DescribeJobTemplateResponse.Builder timeoutConfig(TimeoutConfig 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:
timeoutConfig(TimeoutConfig)
-
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:
jobExecutionsRetryConfig(JobExecutionsRetryConfig)
-
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
DescribeJobTemplateResponse.Builder 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.
- 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 to#maintenanceWindows(List
.) - 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:
#maintenanceWindows(java.util.Collection
)
-
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.
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.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.
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.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.
-
-