Class CfnJobPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnJobPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobPropsMixin>
- Enclosing class:
CfnJobPropsMixin
@Stability(Stable)
public static final class CfnJobPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobPropsMixin>
A fluent builder for
CfnJobPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionabortConfig(CfnJobPropsMixin.AbortConfigProperty abortConfig) The criteria that determine when and how a job abort takes place.abortConfig(IResolvable abortConfig) The criteria that determine when and how a job abort takes place.build()static CfnJobPropsMixin.Buildercreate()static CfnJobPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) A short text description of the job.destinationPackageVersions(List<String> destinationPackageVersions) The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.The job document.documentParameters(Map<String, String> documentParameters) Parameters of an Amazon Web Services managed template that you can specify to create the job document.documentParameters(IResolvable documentParameters) Parameters of an Amazon Web Services managed template that you can specify to create the job document.documentSource(String documentSource) An S3 link, or S3 object URL, to the job document.jobExecutionsRetryConfig(CfnJobPropsMixin.JobExecutionsRetryConfigProperty jobExecutionsRetryConfig) The configuration that determines how many retries are allowed for each failure type for a job.jobExecutionsRetryConfig(IResolvable jobExecutionsRetryConfig) The configuration that determines how many retries are allowed for each failure type for a job.jobExecutionsRolloutConfig(CfnJobPropsMixin.JobExecutionsRolloutConfigProperty jobExecutionsRolloutConfig) Allows you to create a staged rollout of a job.jobExecutionsRolloutConfig(IResolvable jobExecutionsRolloutConfig) Allows you to create a staged rollout of a job.A job identifier which must be unique for your AWS account.jobTemplateArn(String jobTemplateArn) The ARN of the job template used to create the job.presignedUrlConfig(CfnJobPropsMixin.PresignedUrlConfigProperty presignedUrlConfig) Configuration for pre-signed S3 URLs.presignedUrlConfig(IResolvable presignedUrlConfig) Configuration for pre-signed S3 URLs.schedulingConfig(CfnJobPropsMixin.SchedulingConfigProperty schedulingConfig) Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group.schedulingConfig(IResolvable schedulingConfig) Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group.Metadata which can be used to manage the job.A list of things and thing groups to which the job should be sent.targetSelection(String targetSelection) Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT).timeoutConfig(CfnJobPropsMixin.TimeoutConfigProperty timeoutConfig) Specifies the amount of time each device has to finish its execution of the job.timeoutConfig(IResolvable timeoutConfig) Specifies the amount of time each device has to finish its execution of the job.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnJobPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnJobPropsMixin.Builder.
-
abortConfig
The criteria that determine when and how a job abort takes place.- Parameters:
abortConfig- The criteria that determine when and how a job abort takes place. This parameter is required.- Returns:
this- See Also:
-
abortConfig
@Stability(Stable) public CfnJobPropsMixin.Builder abortConfig(CfnJobPropsMixin.AbortConfigProperty abortConfig) The criteria that determine when and how a job abort takes place.- Parameters:
abortConfig- The criteria that determine when and how a job abort takes place. This parameter is required.- Returns:
this- See Also:
-
description
A short text description of the job.- Parameters:
description- A short text description of the job. This parameter is required.- Returns:
this- See Also:
-
destinationPackageVersions
@Stability(Stable) public CfnJobPropsMixin.Builder destinationPackageVersions(List<String> destinationPackageVersions) The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.- Parameters:
destinationPackageVersions- The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes. This parameter is required.- Returns:
this- See Also:
-
document
The job document.Required if you don't specify a value for documentSource.
- Parameters:
document- The job document. This parameter is required.- Returns:
this- See Also:
-
documentParameters
@Stability(Stable) public CfnJobPropsMixin.Builder documentParameters(IResolvable documentParameters) Parameters of an Amazon Web Services managed template that you can specify to create the job document.- Parameters:
documentParameters- Parameters of an Amazon Web Services managed template that you can specify to create the job document. This parameter is required.- Returns:
this- See Also:
-
documentParameters
@Stability(Stable) public CfnJobPropsMixin.Builder documentParameters(Map<String, String> documentParameters) Parameters of an Amazon Web Services managed template that you can specify to create the job document.- Parameters:
documentParameters- Parameters of an Amazon Web Services managed template that you can specify to create the job document. This parameter is required.- Returns:
this- See Also:
-
documentSource
An S3 link, or S3 object URL, to the job document.The link is an Amazon S3 object URL and is required if you don't specify a value for document.
- Parameters:
documentSource- An S3 link, or S3 object URL, to the job document. This parameter is required.- Returns:
this- See Also:
-
jobExecutionsRetryConfig
@Stability(Stable) public CfnJobPropsMixin.Builder jobExecutionsRetryConfig(IResolvable 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. This parameter is required.- Returns:
this- See Also:
-
jobExecutionsRetryConfig
@Stability(Stable) public CfnJobPropsMixin.Builder jobExecutionsRetryConfig(CfnJobPropsMixin.JobExecutionsRetryConfigProperty 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. This parameter is required.- Returns:
this- See Also:
-
jobExecutionsRolloutConfig
@Stability(Stable) public CfnJobPropsMixin.Builder jobExecutionsRolloutConfig(IResolvable jobExecutionsRolloutConfig) Allows you to create a staged rollout of a job.- Parameters:
jobExecutionsRolloutConfig- Allows you to create a staged rollout of a job. This parameter is required.- Returns:
this- See Also:
-
jobExecutionsRolloutConfig
@Stability(Stable) public CfnJobPropsMixin.Builder jobExecutionsRolloutConfig(CfnJobPropsMixin.JobExecutionsRolloutConfigProperty jobExecutionsRolloutConfig) Allows you to create a staged rollout of a job.- Parameters:
jobExecutionsRolloutConfig- Allows you to create a staged rollout of a job. This parameter is required.- Returns:
this- See Also:
-
jobId
A job identifier which must be unique for your AWS account.We recommend using a UUID. Alpha-numeric characters, '-' and '_' are valid for use here.
- Parameters:
jobId- A job identifier which must be unique for your AWS account. This parameter is required.- Returns:
this- See Also:
-
jobTemplateArn
The ARN of the job template used to create the job.- Parameters:
jobTemplateArn- The ARN of the job template used to create the job. This parameter is required.- Returns:
this- See Also:
-
presignedUrlConfig
@Stability(Stable) public CfnJobPropsMixin.Builder presignedUrlConfig(IResolvable presignedUrlConfig) Configuration for pre-signed S3 URLs.- Parameters:
presignedUrlConfig- Configuration for pre-signed S3 URLs. This parameter is required.- Returns:
this- See Also:
-
presignedUrlConfig
@Stability(Stable) public CfnJobPropsMixin.Builder presignedUrlConfig(CfnJobPropsMixin.PresignedUrlConfigProperty presignedUrlConfig) Configuration for pre-signed S3 URLs.- Parameters:
presignedUrlConfig- Configuration for pre-signed S3 URLs. This parameter is required.- Returns:
this- See Also:
-
schedulingConfig
Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group.- Parameters:
schedulingConfig- Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group. This parameter is required.- Returns:
this- See Also:
-
schedulingConfig
@Stability(Stable) public CfnJobPropsMixin.Builder schedulingConfig(CfnJobPropsMixin.SchedulingConfigProperty schedulingConfig) Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group.- Parameters:
schedulingConfig- Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group. This parameter is required.- Returns:
this- See Also:
-
tags
Metadata which can be used to manage the job.- Parameters:
tags- Metadata which can be used to manage the job. This parameter is required.- Returns:
this- See Also:
-
targets
A list of things and thing groups to which the job should be sent.- Parameters:
targets- A list of things and thing groups to which the job should be sent. This parameter is required.- Returns:
this- See Also:
-
targetSelection
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT).- Parameters:
targetSelection- Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). This parameter is required.- Returns:
this- See Also:
-
timeoutConfig
Specifies the amount of time each device has to finish its execution of the job.- Parameters:
timeoutConfig- Specifies the amount of time each device has to finish its execution of the job. This parameter is required.- Returns:
this- See Also:
-
timeoutConfig
@Stability(Stable) public CfnJobPropsMixin.Builder timeoutConfig(CfnJobPropsMixin.TimeoutConfigProperty timeoutConfig) Specifies the amount of time each device has to finish its execution of the job.- Parameters:
timeoutConfig- Specifies the amount of time each device has to finish its execution of the job. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJobPropsMixin>- Returns:
- a newly built instance of
CfnJobPropsMixin.
-