@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateJobRequest |
addDocumentParametersEntry(String key,
String value)
Add a single DocumentParameters entry
|
CreateJobRequest |
clearDocumentParametersEntries()
Removes all the entries added into DocumentParameters.
|
CreateJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AbortConfig |
getAbortConfig()
Allows you to create the criteria to abort a job.
|
String |
getDescription()
A short text description of the job.
|
List<String> |
getDestinationPackageVersions()
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes.
|
String |
getDocument()
The job document.
|
Map<String,String> |
getDocumentParameters()
Parameters of an Amazon Web Services managed template that you can specify to create the job document.
|
String |
getDocumentSource()
An S3 link, or S3 object URL, to the job document.
|
JobExecutionsRetryConfig |
getJobExecutionsRetryConfig()
Allows you to create the criteria to retry a job.
|
JobExecutionsRolloutConfig |
getJobExecutionsRolloutConfig()
Allows you to create a staged rollout of the job.
|
String |
getJobId()
A job identifier which must be unique for your Amazon Web Services account.
|
String |
getJobTemplateArn()
The ARN of the job template used to create the job.
|
String |
getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
|
PresignedUrlConfig |
getPresignedUrlConfig()
Configuration information for pre-signed S3 URLs.
|
SchedulingConfig |
getSchedulingConfig()
The configuration that allows you to schedule a job for a future date and time in addition to specifying the end
behavior for each job execution.
|
List<Tag> |
getTags()
Metadata which can be used to manage the job.
|
List<String> |
getTargets()
A list of things and thing groups to which the job should be sent.
|
String |
getTargetSelection()
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 |
getTimeoutConfig()
Specifies the amount of time each device has to finish its execution of the job.
|
int |
hashCode() |
void |
setAbortConfig(AbortConfig abortConfig)
Allows you to create the criteria to abort a job.
|
void |
setDescription(String description)
A short text description of the job.
|
void |
setDestinationPackageVersions(Collection<String> destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes.
|
void |
setDocument(String document)
The job document.
|
void |
setDocumentParameters(Map<String,String> documentParameters)
Parameters of an Amazon Web Services managed template that you can specify to create the job document.
|
void |
setDocumentSource(String documentSource)
An S3 link, or S3 object URL, to the job document.
|
void |
setJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
|
void |
setJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
|
void |
setJobId(String jobId)
A job identifier which must be unique for your Amazon Web Services account.
|
void |
setJobTemplateArn(String jobTemplateArn)
The ARN of the job template used to create the job.
|
void |
setNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
void |
setPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
|
void |
setSchedulingConfig(SchedulingConfig schedulingConfig)
The configuration that allows you to schedule a job for a future date and time in addition to specifying the end
behavior for each job execution.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the job.
|
void |
setTargets(Collection<String> targets)
A list of things and thing groups to which the job should be sent.
|
void |
setTargetSelection(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).
|
void |
setTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job.
|
String |
toString()
Returns a string representation of this object.
|
CreateJobRequest |
withAbortConfig(AbortConfig abortConfig)
Allows you to create the criteria to abort a job.
|
CreateJobRequest |
withDescription(String description)
A short text description of the job.
|
CreateJobRequest |
withDestinationPackageVersions(Collection<String> destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes.
|
CreateJobRequest |
withDestinationPackageVersions(String... destinationPackageVersions)
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes.
|
CreateJobRequest |
withDocument(String document)
The job document.
|
CreateJobRequest |
withDocumentParameters(Map<String,String> documentParameters)
Parameters of an Amazon Web Services managed template that you can specify to create the job document.
|
CreateJobRequest |
withDocumentSource(String documentSource)
An S3 link, or S3 object URL, to the job document.
|
CreateJobRequest |
withJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
|
CreateJobRequest |
withJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
|
CreateJobRequest |
withJobId(String jobId)
A job identifier which must be unique for your Amazon Web Services account.
|
CreateJobRequest |
withJobTemplateArn(String jobTemplateArn)
The ARN of the job template used to create the job.
|
CreateJobRequest |
withNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
CreateJobRequest |
withPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
|
CreateJobRequest |
withSchedulingConfig(SchedulingConfig schedulingConfig)
The configuration that allows you to schedule a job for a future date and time in addition to specifying the end
behavior for each job execution.
|
CreateJobRequest |
withTags(Collection<Tag> tags)
Metadata which can be used to manage the job.
|
CreateJobRequest |
withTags(Tag... tags)
Metadata which can be used to manage the job.
|
CreateJobRequest |
withTargets(Collection<String> targets)
A list of things and thing groups to which the job should be sent.
|
CreateJobRequest |
withTargets(String... targets)
A list of things and thing groups to which the job should be sent.
|
CreateJobRequest |
withTargetSelection(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).
|
CreateJobRequest |
withTargetSelection(TargetSelection 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).
|
CreateJobRequest |
withTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setJobId(String jobId)
A job identifier which must be unique for your Amazon Web Services account. We recommend using a UUID. Alpha-numeric characters, "-" and "_" are valid for use here.
jobId
- A job identifier which must be unique for your Amazon Web Services account. We recommend using a UUID.
Alpha-numeric characters, "-" and "_" are valid for use here.public String getJobId()
A job identifier which must be unique for your Amazon Web Services account. We recommend using a UUID. Alpha-numeric characters, "-" and "_" are valid for use here.
public CreateJobRequest withJobId(String jobId)
A job identifier which must be unique for your Amazon Web Services account. We recommend using a UUID. Alpha-numeric characters, "-" and "_" are valid for use here.
jobId
- A job identifier which must be unique for your Amazon Web Services account. We recommend using a UUID.
Alpha-numeric characters, "-" and "_" are valid for use here.public List<String> getTargets()
A list of things and thing groups to which the job should be sent.
public void setTargets(Collection<String> targets)
A list of things and thing groups to which the job should be sent.
targets
- A list of things and thing groups to which the job should be sent.public CreateJobRequest withTargets(String... targets)
A list of things and thing groups to which the job should be sent.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- A list of things and thing groups to which the job should be sent.public CreateJobRequest withTargets(Collection<String> targets)
A list of things and thing groups to which the job should be sent.
targets
- A list of things and thing groups to which the job should be sent.public void setDocumentSource(String 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
.
For example,
--document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0
For more information, see Methods for accessing a bucket.
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
.
For example,
--document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0
For more information, see Methods for accessing a bucket.
public String getDocumentSource()
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
.
For example,
--document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0
For more information, see Methods for accessing a bucket.
document
.
For example,
--document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0
For more information, see Methods for accessing a bucket.
public CreateJobRequest withDocumentSource(String 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
.
For example,
--document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0
For more information, see Methods for accessing a bucket.
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
.
For example,
--document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0
For more information, see Methods for accessing a bucket.
public void setDocument(String document)
The job document. Required if you don't specify a value for documentSource
.
document
- The job document. Required if you don't specify a value for documentSource
.public String getDocument()
The job document. Required if you don't specify a value for documentSource
.
documentSource
.public CreateJobRequest withDocument(String document)
The job document. Required if you don't specify a value for documentSource
.
document
- The job document. Required if you don't specify a value for documentSource
.public void setDescription(String description)
A short text description of the job.
description
- A short text description of the job.public String getDescription()
A short text description of the job.
public CreateJobRequest withDescription(String description)
A short text description of the job.
description
- A short text description of the job.public void setPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
presignedUrlConfig
- Configuration information for pre-signed S3 URLs.public PresignedUrlConfig getPresignedUrlConfig()
Configuration information for pre-signed S3 URLs.
public CreateJobRequest withPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration information for pre-signed S3 URLs.
presignedUrlConfig
- Configuration information for pre-signed S3 URLs.public void setTargetSelection(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). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
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). If continuous, the job may also be run on a thing
when a change is detected in a target. For example, a job will run on a thing when the thing is added to a
target group, even after the job was completed by all things originally in the group. We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
TargetSelection
public String getTargetSelection()
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). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
TargetSelection
public CreateJobRequest withTargetSelection(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). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
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). If continuous, the job may also be run on a thing
when a change is detected in a target. For example, a job will run on a thing when the thing is added to a
target group, even after the job was completed by all things originally in the group. We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
TargetSelection
public CreateJobRequest withTargetSelection(TargetSelection 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). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
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). If continuous, the job may also be run on a thing
when a change is detected in a target. For example, a job will run on a thing when the thing is added to a
target group, even after the job was completed by all things originally in the group. We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
TargetSelection
public void setJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
jobExecutionsRolloutConfig
- Allows you to create a staged rollout of the job.public JobExecutionsRolloutConfig getJobExecutionsRolloutConfig()
Allows you to create a staged rollout of the job.
public CreateJobRequest withJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of the job.
jobExecutionsRolloutConfig
- Allows you to create a staged rollout of the job.public void setAbortConfig(AbortConfig abortConfig)
Allows you to create the criteria to abort a job.
abortConfig
- Allows you to create the criteria to abort a job.public AbortConfig getAbortConfig()
Allows you to create the criteria to abort a job.
public CreateJobRequest withAbortConfig(AbortConfig abortConfig)
Allows you to create the criteria to abort a job.
abortConfig
- Allows you to create the criteria to abort a job.public void setTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job. The timer is started when the
job execution status is set to IN_PROGRESS
. If the job execution status is not set to another
terminal state before the time expires, it will be automatically set to TIMED_OUT
.
timeoutConfig
- Specifies the amount of time each device has to finish its execution of the job. The timer is started when
the job execution status is set to IN_PROGRESS
. If the job execution status is not set to
another terminal state before the time expires, it will be automatically set to TIMED_OUT
.public TimeoutConfig getTimeoutConfig()
Specifies the amount of time each device has to finish its execution of the job. The timer is started when the
job execution status is set to IN_PROGRESS
. If the job execution status is not set to another
terminal state before the time expires, it will be automatically set to TIMED_OUT
.
IN_PROGRESS
. If the job execution status is not set
to another terminal state before the time expires, it will be automatically set to TIMED_OUT
.public CreateJobRequest withTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of the job. The timer is started when the
job execution status is set to IN_PROGRESS
. If the job execution status is not set to another
terminal state before the time expires, it will be automatically set to TIMED_OUT
.
timeoutConfig
- Specifies the amount of time each device has to finish its execution of the job. The timer is started when
the job execution status is set to IN_PROGRESS
. If the job execution status is not set to
another terminal state before the time expires, it will be automatically set to TIMED_OUT
.public List<Tag> getTags()
Metadata which can be used to manage the job.
public void setTags(Collection<Tag> tags)
Metadata which can be used to manage the job.
tags
- Metadata which can be used to manage the job.public CreateJobRequest withTags(Tag... tags)
Metadata which can be used to manage the job.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Metadata which can be used to manage the job.public CreateJobRequest withTags(Collection<Tag> tags)
Metadata which can be used to manage the job.
tags
- Metadata which can be used to manage the job.public void setNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more information, see
Setting up IoT Greengrass core
devices.
namespaceId
- The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more
information, see Setting up IoT Greengrass
core devices.
public String getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more information, see
Setting up IoT Greengrass core
devices.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more
information, see Setting up IoT Greengrass
core devices.
public CreateJobRequest withNamespaceId(String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more information, see
Setting up IoT Greengrass core
devices.
namespaceId
- The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId
feature is only supported by IoT Greengrass at this time. For more
information, see Setting up IoT Greengrass
core devices.
public void setJobTemplateArn(String jobTemplateArn)
The ARN of the job template used to create the job.
jobTemplateArn
- The ARN of the job template used to create the job.public String getJobTemplateArn()
The ARN of the job template used to create the job.
public CreateJobRequest withJobTemplateArn(String jobTemplateArn)
The ARN of the job template used to create the job.
jobTemplateArn
- The ARN of the job template used to create the job.public void setJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
jobExecutionsRetryConfig
- Allows you to create the criteria to retry a job.public JobExecutionsRetryConfig getJobExecutionsRetryConfig()
Allows you to create the criteria to retry a job.
public CreateJobRequest withJobExecutionsRetryConfig(JobExecutionsRetryConfig jobExecutionsRetryConfig)
Allows you to create the criteria to retry a job.
jobExecutionsRetryConfig
- Allows you to create the criteria to retry a job.public Map<String,String> getDocumentParameters()
Parameters of an Amazon Web Services managed template that you can specify to create the job document.
documentParameters
can only be used when creating jobs from Amazon Web Services managed templates.
This parameter can't be used with custom job templates or to create jobs from them.
documentParameters
can only be used when creating jobs from Amazon Web Services managed
templates. This parameter can't be used with custom job templates or to create jobs from them.
public void setDocumentParameters(Map<String,String> documentParameters)
Parameters of an Amazon Web Services managed template that you can specify to create the job document.
documentParameters
can only be used when creating jobs from Amazon Web Services managed templates.
This parameter can't be used with custom job templates or to create jobs from them.
documentParameters
- Parameters of an Amazon Web Services managed template that you can specify to create the job document.
documentParameters
can only be used when creating jobs from Amazon Web Services managed
templates. This parameter can't be used with custom job templates or to create jobs from them.
public CreateJobRequest withDocumentParameters(Map<String,String> documentParameters)
Parameters of an Amazon Web Services managed template that you can specify to create the job document.
documentParameters
can only be used when creating jobs from Amazon Web Services managed templates.
This parameter can't be used with custom job templates or to create jobs from them.
documentParameters
- Parameters of an Amazon Web Services managed template that you can specify to create the job document.
documentParameters
can only be used when creating jobs from Amazon Web Services managed
templates. This parameter can't be used with custom job templates or to create jobs from them.
public CreateJobRequest addDocumentParametersEntry(String key, String value)
public CreateJobRequest clearDocumentParametersEntries()
public void setSchedulingConfig(SchedulingConfig schedulingConfig)
The configuration that allows you to schedule a job for a future date and time in addition to specifying the end behavior for each job execution.
schedulingConfig
- The configuration that allows you to schedule a job for a future date and time in addition to specifying
the end behavior for each job execution.public SchedulingConfig getSchedulingConfig()
The configuration that allows you to schedule a job for a future date and time in addition to specifying the end behavior for each job execution.
public CreateJobRequest withSchedulingConfig(SchedulingConfig schedulingConfig)
The configuration that allows you to schedule a job for a future date and time in addition to specifying the end behavior for each job execution.
schedulingConfig
- The configuration that allows you to schedule a job for a future date and time in addition to specifying
the end behavior for each job execution.public List<String> getDestinationPackageVersions()
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.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
public void setDestinationPackageVersions(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.
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.
public CreateJobRequest withDestinationPackageVersions(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.
NOTE: This method appends the values to the existing list (if any). Use
setDestinationPackageVersions(java.util.Collection)
or
withDestinationPackageVersions(java.util.Collection)
if you want to override the existing values.
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.
public CreateJobRequest withDestinationPackageVersions(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.
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.
public String toString()
toString
in class Object
Object.toString()
public CreateJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()