public class Job
extends java.lang.Object
implements java.io.Serializable
The Job
object contains details about a job.
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
AbortConfig |
getAbortConfig()
Configuration for criteria to abort the job.
|
java.lang.String |
getComment()
If the job was updated, describes the reason for the update.
|
java.util.Date |
getCompletedAt()
The time, in seconds since the epoch, when the job was completed.
|
java.util.Date |
getCreatedAt()
The time, in seconds since the epoch, when the job was created.
|
java.lang.String |
getDescription()
A short text description of the job.
|
java.lang.Boolean |
getForceCanceled()
Will be
true if the job was canceled with the optional
force parameter set to true . |
java.lang.String |
getJobArn()
An ARN identifying the job with format
"arn:aws:iot:region:account:job/jobId".
|
JobExecutionsRolloutConfig |
getJobExecutionsRolloutConfig()
Allows you to create a staged rollout of a job.
|
java.lang.String |
getJobId()
The unique identifier you assigned to this job when it was created.
|
JobProcessDetails |
getJobProcessDetails()
Details about the job process.
|
java.util.Date |
getLastUpdatedAt()
The time, in seconds since the epoch, when the job was last updated.
|
java.lang.String |
getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
|
PresignedUrlConfig |
getPresignedUrlConfig()
Configuration for pre-signed S3 URLs.
|
java.lang.String |
getReasonCode()
If the job was updated, provides the reason code for the update.
|
java.lang.String |
getStatus()
The status of the job, one of
IN_PROGRESS ,
CANCELED , DELETION_IN_PROGRESS or
COMPLETED . |
java.util.List<java.lang.String> |
getTargets()
A list of IoT things and thing groups to which the job should be sent.
|
java.lang.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() |
java.lang.Boolean |
isForceCanceled()
Will be
true if the job was canceled with the optional
force parameter set to true . |
void |
setAbortConfig(AbortConfig abortConfig)
Configuration for criteria to abort the job.
|
void |
setComment(java.lang.String comment)
If the job was updated, describes the reason for the update.
|
void |
setCompletedAt(java.util.Date completedAt)
The time, in seconds since the epoch, when the job was completed.
|
void |
setCreatedAt(java.util.Date createdAt)
The time, in seconds since the epoch, when the job was created.
|
void |
setDescription(java.lang.String description)
A short text description of the job.
|
void |
setForceCanceled(java.lang.Boolean forceCanceled)
Will be
true if the job was canceled with the optional
force parameter set to true . |
void |
setJobArn(java.lang.String jobArn)
An ARN identifying the job with format
"arn:aws:iot:region:account:job/jobId".
|
void |
setJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of a job.
|
void |
setJobId(java.lang.String jobId)
The unique identifier you assigned to this job when it was created.
|
void |
setJobProcessDetails(JobProcessDetails jobProcessDetails)
Details about the job process.
|
void |
setLastUpdatedAt(java.util.Date lastUpdatedAt)
The time, in seconds since the epoch, when the job was last updated.
|
void |
setNamespaceId(java.lang.String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
void |
setPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration for pre-signed S3 URLs.
|
void |
setReasonCode(java.lang.String reasonCode)
If the job was updated, provides the reason code for the update.
|
void |
setStatus(JobStatus status)
The status of the job, one of
IN_PROGRESS ,
CANCELED , DELETION_IN_PROGRESS or
COMPLETED . |
void |
setStatus(java.lang.String status)
The status of the job, one of
IN_PROGRESS ,
CANCELED , DELETION_IN_PROGRESS or
COMPLETED . |
void |
setTargets(java.util.Collection<java.lang.String> targets)
A list of IoT things and thing groups to which the job should be sent.
|
void |
setTargetSelection(java.lang.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 |
setTargetSelection(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).
|
void |
setTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of
the job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Job |
withAbortConfig(AbortConfig abortConfig)
Configuration for criteria to abort the job.
|
Job |
withComment(java.lang.String comment)
If the job was updated, describes the reason for the update.
|
Job |
withCompletedAt(java.util.Date completedAt)
The time, in seconds since the epoch, when the job was completed.
|
Job |
withCreatedAt(java.util.Date createdAt)
The time, in seconds since the epoch, when the job was created.
|
Job |
withDescription(java.lang.String description)
A short text description of the job.
|
Job |
withForceCanceled(java.lang.Boolean forceCanceled)
Will be
true if the job was canceled with the optional
force parameter set to true . |
Job |
withJobArn(java.lang.String jobArn)
An ARN identifying the job with format
"arn:aws:iot:region:account:job/jobId".
|
Job |
withJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of a job.
|
Job |
withJobId(java.lang.String jobId)
The unique identifier you assigned to this job when it was created.
|
Job |
withJobProcessDetails(JobProcessDetails jobProcessDetails)
Details about the job process.
|
Job |
withLastUpdatedAt(java.util.Date lastUpdatedAt)
The time, in seconds since the epoch, when the job was last updated.
|
Job |
withNamespaceId(java.lang.String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
Job |
withPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration for pre-signed S3 URLs.
|
Job |
withReasonCode(java.lang.String reasonCode)
If the job was updated, provides the reason code for the update.
|
Job |
withStatus(JobStatus status)
The status of the job, one of
IN_PROGRESS ,
CANCELED , DELETION_IN_PROGRESS or
COMPLETED . |
Job |
withStatus(java.lang.String status)
The status of the job, one of
IN_PROGRESS ,
CANCELED , DELETION_IN_PROGRESS or
COMPLETED . |
Job |
withTargets(java.util.Collection<java.lang.String> targets)
A list of IoT things and thing groups to which the job should be sent.
|
Job |
withTargets(java.lang.String... targets)
A list of IoT things and thing groups to which the job should be sent.
|
Job |
withTargetSelection(java.lang.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).
|
Job |
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).
|
Job |
withTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of
the job.
|
public java.lang.String getJobArn()
An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId".
An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId".
public void setJobArn(java.lang.String jobArn)
An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId".
jobArn
- An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId".
public Job withJobArn(java.lang.String jobArn)
An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId".
Returns a reference to this object so that method calls can be chained together.
jobArn
- An ARN identifying the job with format "arn:aws:iot:region:account:job/jobId".
public java.lang.String getJobId()
The unique identifier you assigned to this job when it was created.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
The unique identifier you assigned to this job when it was created.
public void setJobId(java.lang.String jobId)
The unique identifier you assigned to this job when it was created.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
jobId
- The unique identifier you assigned to this job when it was created.
public Job withJobId(java.lang.String jobId)
The unique identifier you assigned to this job when it was created.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
jobId
- The unique identifier you assigned to this job when it was created.
public java.lang.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 device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group.
Constraints:
Allowed Values: CONTINUOUS, SNAPSHOT
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 device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group.
TargetSelection
public void setTargetSelection(java.lang.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 device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group.
Constraints:
Allowed Values: CONTINUOUS, SNAPSHOT
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 device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group.
TargetSelection
public Job withTargetSelection(java.lang.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 device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CONTINUOUS, SNAPSHOT
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 device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group.
TargetSelection
public void setTargetSelection(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 device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group.
Constraints:
Allowed Values: CONTINUOUS, SNAPSHOT
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 device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group.
TargetSelection
public Job 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 device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CONTINUOUS, SNAPSHOT
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 device when the thing representing the device is added to a target group, even after the job was completed by all things originally in the group.
TargetSelection
public java.lang.String getStatus()
The status of the job, one of IN_PROGRESS
,
CANCELED
, DELETION_IN_PROGRESS
or
COMPLETED
.
Constraints:
Allowed Values: IN_PROGRESS, CANCELED, COMPLETED,
DELETION_IN_PROGRESS
The status of the job, one of IN_PROGRESS
,
CANCELED
, DELETION_IN_PROGRESS
or
COMPLETED
.
JobStatus
public void setStatus(java.lang.String status)
The status of the job, one of IN_PROGRESS
,
CANCELED
, DELETION_IN_PROGRESS
or
COMPLETED
.
Constraints:
Allowed Values: IN_PROGRESS, CANCELED, COMPLETED,
DELETION_IN_PROGRESS
status
-
The status of the job, one of IN_PROGRESS
,
CANCELED
, DELETION_IN_PROGRESS
or
COMPLETED
.
JobStatus
public Job withStatus(java.lang.String status)
The status of the job, one of IN_PROGRESS
,
CANCELED
, DELETION_IN_PROGRESS
or
COMPLETED
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, CANCELED, COMPLETED,
DELETION_IN_PROGRESS
status
-
The status of the job, one of IN_PROGRESS
,
CANCELED
, DELETION_IN_PROGRESS
or
COMPLETED
.
JobStatus
public void setStatus(JobStatus status)
The status of the job, one of IN_PROGRESS
,
CANCELED
, DELETION_IN_PROGRESS
or
COMPLETED
.
Constraints:
Allowed Values: IN_PROGRESS, CANCELED, COMPLETED,
DELETION_IN_PROGRESS
status
-
The status of the job, one of IN_PROGRESS
,
CANCELED
, DELETION_IN_PROGRESS
or
COMPLETED
.
JobStatus
public Job withStatus(JobStatus status)
The status of the job, one of IN_PROGRESS
,
CANCELED
, DELETION_IN_PROGRESS
or
COMPLETED
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, CANCELED, COMPLETED,
DELETION_IN_PROGRESS
status
-
The status of the job, one of IN_PROGRESS
,
CANCELED
, DELETION_IN_PROGRESS
or
COMPLETED
.
JobStatus
public java.lang.Boolean isForceCanceled()
Will be true
if the job was canceled with the optional
force
parameter set to true
.
Will be true
if the job was canceled with the
optional force
parameter set to true
.
public java.lang.Boolean getForceCanceled()
Will be true
if the job was canceled with the optional
force
parameter set to true
.
Will be true
if the job was canceled with the
optional force
parameter set to true
.
public void setForceCanceled(java.lang.Boolean forceCanceled)
Will be true
if the job was canceled with the optional
force
parameter set to true
.
forceCanceled
-
Will be true
if the job was canceled with the
optional force
parameter set to true
.
public Job withForceCanceled(java.lang.Boolean forceCanceled)
Will be true
if the job was canceled with the optional
force
parameter set to true
.
Returns a reference to this object so that method calls can be chained together.
forceCanceled
-
Will be true
if the job was canceled with the
optional force
parameter set to true
.
public java.lang.String getReasonCode()
If the job was updated, provides the reason code for the update.
Constraints:
Length: - 128
Pattern: [\p{Upper}\p{Digit}_]+
If the job was updated, provides the reason code for the update.
public void setReasonCode(java.lang.String reasonCode)
If the job was updated, provides the reason code for the update.
Constraints:
Length: - 128
Pattern: [\p{Upper}\p{Digit}_]+
reasonCode
- If the job was updated, provides the reason code for the update.
public Job withReasonCode(java.lang.String reasonCode)
If the job was updated, provides the reason code for the update.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 128
Pattern: [\p{Upper}\p{Digit}_]+
reasonCode
- If the job was updated, provides the reason code for the update.
public java.lang.String getComment()
If the job was updated, describes the reason for the update.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
If the job was updated, describes the reason for the update.
public void setComment(java.lang.String comment)
If the job was updated, describes the reason for the update.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
comment
- If the job was updated, describes the reason for the update.
public Job withComment(java.lang.String comment)
If the job was updated, describes the reason for the update.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
comment
- If the job was updated, describes the reason for the update.
public java.util.List<java.lang.String> getTargets()
A list of IoT things and thing groups to which the job should be sent.
A list of IoT things and thing groups to which the job should be sent.
public void setTargets(java.util.Collection<java.lang.String> targets)
A list of IoT things and thing groups to which the job should be sent.
targets
- A list of IoT things and thing groups to which the job should be sent.
public Job withTargets(java.lang.String... targets)
A list of IoT things and thing groups to which the job should be sent.
Returns a reference to this object so that method calls can be chained together.
targets
- A list of IoT things and thing groups to which the job should be sent.
public Job withTargets(java.util.Collection<java.lang.String> targets)
A list of IoT things and thing groups to which the job should be sent.
Returns a reference to this object so that method calls can be chained together.
targets
- A list of IoT things and thing groups to which the job should be sent.
public java.lang.String getDescription()
A short text description of the job.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
A short text description of the job.
public void setDescription(java.lang.String description)
A short text description of the job.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
description
- A short text description of the job.
public Job withDescription(java.lang.String description)
A short text description of the job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
description
- A short text description of the job.
public PresignedUrlConfig getPresignedUrlConfig()
Configuration for pre-signed S3 URLs.
Configuration for pre-signed S3 URLs.
public void setPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration for pre-signed S3 URLs.
presignedUrlConfig
- Configuration for pre-signed S3 URLs.
public Job withPresignedUrlConfig(PresignedUrlConfig presignedUrlConfig)
Configuration for pre-signed S3 URLs.
Returns a reference to this object so that method calls can be chained together.
presignedUrlConfig
- Configuration for pre-signed S3 URLs.
public JobExecutionsRolloutConfig getJobExecutionsRolloutConfig()
Allows you to create a staged rollout of a job.
Allows you to create a staged rollout of a job.
public void setJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of a job.
jobExecutionsRolloutConfig
- Allows you to create a staged rollout of a job.
public Job withJobExecutionsRolloutConfig(JobExecutionsRolloutConfig jobExecutionsRolloutConfig)
Allows you to create a staged rollout of a job.
Returns a reference to this object so that method calls can be chained together.
jobExecutionsRolloutConfig
- Allows you to create a staged rollout of a job.
public AbortConfig getAbortConfig()
Configuration for criteria to abort the job.
Configuration for criteria to abort the job.
public void setAbortConfig(AbortConfig abortConfig)
Configuration for criteria to abort the job.
abortConfig
- Configuration for criteria to abort the job.
public Job withAbortConfig(AbortConfig abortConfig)
Configuration for criteria to abort the job.
Returns a reference to this object so that method calls can be chained together.
abortConfig
- Configuration for criteria to abort the job.
public java.util.Date getCreatedAt()
The time, in seconds since the epoch, when the job was created.
The time, in seconds since the epoch, when the job was created.
public void setCreatedAt(java.util.Date createdAt)
The time, in seconds since the epoch, when the job was created.
createdAt
- The time, in seconds since the epoch, when the job was created.
public Job withCreatedAt(java.util.Date createdAt)
The time, in seconds since the epoch, when the job was created.
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 was created.
public java.util.Date getLastUpdatedAt()
The time, in seconds since the epoch, when the job was last updated.
The time, in seconds since the epoch, when the job was last updated.
public void setLastUpdatedAt(java.util.Date lastUpdatedAt)
The time, in seconds since the epoch, when the job was last updated.
lastUpdatedAt
- The time, in seconds since the epoch, when the job was last updated.
public Job withLastUpdatedAt(java.util.Date lastUpdatedAt)
The time, in seconds since the epoch, when the job was last updated.
Returns a reference to this object so that method calls can be chained together.
lastUpdatedAt
- The time, in seconds since the epoch, when the job was last updated.
public java.util.Date getCompletedAt()
The time, in seconds since the epoch, when the job was completed.
The time, in seconds since the epoch, when the job was completed.
public void setCompletedAt(java.util.Date completedAt)
The time, in seconds since the epoch, when the job was completed.
completedAt
- The time, in seconds since the epoch, when the job was completed.
public Job withCompletedAt(java.util.Date completedAt)
The time, in seconds since the epoch, when the job was completed.
Returns a reference to this object so that method calls can be chained together.
completedAt
- The time, in seconds since the epoch, when the job was completed.
public JobProcessDetails getJobProcessDetails()
Details about the job process.
Details about the job process.
public void setJobProcessDetails(JobProcessDetails jobProcessDetails)
Details about the job process.
jobProcessDetails
- Details about the job process.
public Job withJobProcessDetails(JobProcessDetails jobProcessDetails)
Details about the job process.
Returns a reference to this object so that method calls can be chained together.
jobProcessDetails
- Details about the job process.
public TimeoutConfig getTimeoutConfig()
Specifies the amount of time each device has to finish its execution of
the job. A 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 timer expires, it will be automatically
set to TIMED_OUT
.
Specifies the amount of time each device has to finish its
execution of the job. A 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 timer
expires, it will be automatically set to TIMED_OUT
.
public void setTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of
the job. A 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 timer 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. A 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 timer expires, it will be automatically set to
TIMED_OUT
.
public Job withTimeoutConfig(TimeoutConfig timeoutConfig)
Specifies the amount of time each device has to finish its execution of
the job. A 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 timer expires, it will be automatically
set to TIMED_OUT
.
Returns a reference to this object so that method calls can be chained together.
timeoutConfig
-
Specifies the amount of time each device has to finish its
execution of the job. A 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 timer expires, it will be automatically set to
TIMED_OUT
.
public java.lang.String getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS 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 in public preview.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS 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 in public preview.
public void setNamespaceId(java.lang.String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS 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 in public preview.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
namespaceId
- The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS 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 in public preview.
public Job withNamespaceId(java.lang.String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS 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 in public preview.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
namespaceId
- The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, AWS 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 in public preview.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.