public class DeleteJobExecutionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes a job execution.
Constructor and Description |
---|
DeleteJobExecutionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getExecutionNumber()
The ID of the job execution to be deleted.
|
java.lang.Boolean |
getForce()
(Optional) When true, you can delete a job execution which is
"IN_PROGRESS".
|
java.lang.String |
getJobId()
The ID of the job whose execution on a particular device will be deleted.
|
java.lang.String |
getNamespaceId()
The namespace used to indicate that a job is a customer-managed job.
|
java.lang.String |
getThingName()
The name of the thing whose job execution will be deleted.
|
int |
hashCode() |
java.lang.Boolean |
isForce()
(Optional) When true, you can delete a job execution which is
"IN_PROGRESS".
|
void |
setExecutionNumber(java.lang.Long executionNumber)
The ID of the job execution to be deleted.
|
void |
setForce(java.lang.Boolean force)
(Optional) When true, you can delete a job execution which is
"IN_PROGRESS".
|
void |
setJobId(java.lang.String jobId)
The ID of the job whose execution on a particular device will be deleted.
|
void |
setNamespaceId(java.lang.String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
void |
setThingName(java.lang.String thingName)
The name of the thing whose job execution will be deleted.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteJobExecutionRequest |
withExecutionNumber(java.lang.Long executionNumber)
The ID of the job execution to be deleted.
|
DeleteJobExecutionRequest |
withForce(java.lang.Boolean force)
(Optional) When true, you can delete a job execution which is
"IN_PROGRESS".
|
DeleteJobExecutionRequest |
withJobId(java.lang.String jobId)
The ID of the job whose execution on a particular device will be deleted.
|
DeleteJobExecutionRequest |
withNamespaceId(java.lang.String namespaceId)
The namespace used to indicate that a job is a customer-managed job.
|
DeleteJobExecutionRequest |
withThingName(java.lang.String thingName)
The name of the thing whose job execution will be deleted.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getJobId()
The ID of the job whose execution on a particular device will be deleted.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
The ID of the job whose execution on a particular device will be deleted.
public void setJobId(java.lang.String jobId)
The ID of the job whose execution on a particular device will be deleted.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_-]+
jobId
- The ID of the job whose execution on a particular device will be deleted.
public DeleteJobExecutionRequest withJobId(java.lang.String jobId)
The ID of the job whose execution on a particular device will be deleted.
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 ID of the job whose execution on a particular device will be deleted.
public java.lang.String getThingName()
The name of the thing whose job execution will be deleted.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the thing whose job execution will be deleted.
public void setThingName(java.lang.String thingName)
The name of the thing whose job execution will be deleted.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName
- The name of the thing whose job execution will be deleted.
public DeleteJobExecutionRequest withThingName(java.lang.String thingName)
The name of the thing whose job execution will be deleted.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName
- The name of the thing whose job execution will be deleted.
public java.lang.Long getExecutionNumber()
The ID of the job execution to be deleted. The
executionNumber
refers to the execution of a particular job
on a particular device.
Note that once a job execution is deleted, the
executionNumber
may be reused by IoT, so be sure you get and
use the correct value here.
The ID of the job execution to be deleted. The
executionNumber
refers to the execution of a
particular job on a particular device.
Note that once a job execution is deleted, the
executionNumber
may be reused by IoT, so be sure you
get and use the correct value here.
public void setExecutionNumber(java.lang.Long executionNumber)
The ID of the job execution to be deleted. The
executionNumber
refers to the execution of a particular job
on a particular device.
Note that once a job execution is deleted, the
executionNumber
may be reused by IoT, so be sure you get and
use the correct value here.
executionNumber
-
The ID of the job execution to be deleted. The
executionNumber
refers to the execution of a
particular job on a particular device.
Note that once a job execution is deleted, the
executionNumber
may be reused by IoT, so be sure
you get and use the correct value here.
public DeleteJobExecutionRequest withExecutionNumber(java.lang.Long executionNumber)
The ID of the job execution to be deleted. The
executionNumber
refers to the execution of a particular job
on a particular device.
Note that once a job execution is deleted, the
executionNumber
may be reused by IoT, so be sure you get and
use the correct value here.
Returns a reference to this object so that method calls can be chained together.
executionNumber
-
The ID of the job execution to be deleted. The
executionNumber
refers to the execution of a
particular job on a particular device.
Note that once a job execution is deleted, the
executionNumber
may be reused by IoT, so be sure
you get and use the correct value here.
public java.lang.Boolean isForce()
(Optional) When true, you can delete a job execution which is "IN_PROGRESS". Otherwise, you can only delete a job execution which is in a terminal state ("SUCCEEDED", "FAILED", "REJECTED", "REMOVED" or "CANCELED") or an exception will occur. The default is false.
Deleting a job execution which is "IN_PROGRESS", will cause the device to be unable to access job information or update the job execution status. Use caution and ensure that the device is able to recover to a valid state.
(Optional) When true, you can delete a job execution which is "IN_PROGRESS". Otherwise, you can only delete a job execution which is in a terminal state ("SUCCEEDED", "FAILED", "REJECTED", "REMOVED" or "CANCELED") or an exception will occur. The default is false.
Deleting a job execution which is "IN_PROGRESS", will cause the device to be unable to access job information or update the job execution status. Use caution and ensure that the device is able to recover to a valid state.
public java.lang.Boolean getForce()
(Optional) When true, you can delete a job execution which is "IN_PROGRESS". Otherwise, you can only delete a job execution which is in a terminal state ("SUCCEEDED", "FAILED", "REJECTED", "REMOVED" or "CANCELED") or an exception will occur. The default is false.
Deleting a job execution which is "IN_PROGRESS", will cause the device to be unable to access job information or update the job execution status. Use caution and ensure that the device is able to recover to a valid state.
(Optional) When true, you can delete a job execution which is "IN_PROGRESS". Otherwise, you can only delete a job execution which is in a terminal state ("SUCCEEDED", "FAILED", "REJECTED", "REMOVED" or "CANCELED") or an exception will occur. The default is false.
Deleting a job execution which is "IN_PROGRESS", will cause the device to be unable to access job information or update the job execution status. Use caution and ensure that the device is able to recover to a valid state.
public void setForce(java.lang.Boolean force)
(Optional) When true, you can delete a job execution which is "IN_PROGRESS". Otherwise, you can only delete a job execution which is in a terminal state ("SUCCEEDED", "FAILED", "REJECTED", "REMOVED" or "CANCELED") or an exception will occur. The default is false.
Deleting a job execution which is "IN_PROGRESS", will cause the device to be unable to access job information or update the job execution status. Use caution and ensure that the device is able to recover to a valid state.
force
- (Optional) When true, you can delete a job execution which is "IN_PROGRESS". Otherwise, you can only delete a job execution which is in a terminal state ("SUCCEEDED", "FAILED", "REJECTED", "REMOVED" or "CANCELED") or an exception will occur. The default is false.
Deleting a job execution which is "IN_PROGRESS", will cause the device to be unable to access job information or update the job execution status. Use caution and ensure that the device is able to recover to a valid state.
public DeleteJobExecutionRequest withForce(java.lang.Boolean force)
(Optional) When true, you can delete a job execution which is "IN_PROGRESS". Otherwise, you can only delete a job execution which is in a terminal state ("SUCCEEDED", "FAILED", "REJECTED", "REMOVED" or "CANCELED") or an exception will occur. The default is false.
Deleting a job execution which is "IN_PROGRESS", will cause the device to be unable to access job information or update the job execution status. Use caution and ensure that the device is able to recover to a valid state.
Returns a reference to this object so that method calls can be chained together.
force
- (Optional) When true, you can delete a job execution which is "IN_PROGRESS". Otherwise, you can only delete a job execution which is in a terminal state ("SUCCEEDED", "FAILED", "REJECTED", "REMOVED" or "CANCELED") or an exception will occur. The default is false.
Deleting a job execution which is "IN_PROGRESS", will cause the device to be unable to access job information or update the job execution status. Use caution and ensure that the device is able to recover to a valid state.
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 DeleteJobExecutionRequest 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.