@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbortCriteria extends Object implements Serializable, Cloneable, StructuredPojo
The criteria that determine when and how a job abort takes place.
| Constructor and Description | 
|---|
| AbortCriteria() | 
| Modifier and Type | Method and Description | 
|---|---|
| AbortCriteria | clone() | 
| boolean | equals(Object obj) | 
| String | getAction()
 The type of job action to take to initiate the job abort. | 
| String | getFailureType()
 The type of job execution failures that can initiate a job abort. | 
| Integer | getMinNumberOfExecutedThings()
 The minimum number of things which must receive job execution notifications before the job can be aborted. | 
| Double | getThresholdPercentage()
 The minimum percentage of job execution failures that must occur to initiate the job abort. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAction(String action)
 The type of job action to take to initiate the job abort. | 
| void | setFailureType(String failureType)
 The type of job execution failures that can initiate a job abort. | 
| void | setMinNumberOfExecutedThings(Integer minNumberOfExecutedThings)
 The minimum number of things which must receive job execution notifications before the job can be aborted. | 
| void | setThresholdPercentage(Double thresholdPercentage)
 The minimum percentage of job execution failures that must occur to initiate the job abort. | 
| String | toString()Returns a string representation of this object. | 
| AbortCriteria | withAction(AbortAction action)
 The type of job action to take to initiate the job abort. | 
| AbortCriteria | withAction(String action)
 The type of job action to take to initiate the job abort. | 
| AbortCriteria | withFailureType(JobExecutionFailureType failureType)
 The type of job execution failures that can initiate a job abort. | 
| AbortCriteria | withFailureType(String failureType)
 The type of job execution failures that can initiate a job abort. | 
| AbortCriteria | withMinNumberOfExecutedThings(Integer minNumberOfExecutedThings)
 The minimum number of things which must receive job execution notifications before the job can be aborted. | 
| AbortCriteria | withThresholdPercentage(Double thresholdPercentage)
 The minimum percentage of job execution failures that must occur to initiate the job abort. | 
public void setFailureType(String failureType)
The type of job execution failures that can initiate a job abort.
failureType - The type of job execution failures that can initiate a job abort.JobExecutionFailureTypepublic String getFailureType()
The type of job execution failures that can initiate a job abort.
JobExecutionFailureTypepublic AbortCriteria withFailureType(String failureType)
The type of job execution failures that can initiate a job abort.
failureType - The type of job execution failures that can initiate a job abort.JobExecutionFailureTypepublic AbortCriteria withFailureType(JobExecutionFailureType failureType)
The type of job execution failures that can initiate a job abort.
failureType - The type of job execution failures that can initiate a job abort.JobExecutionFailureTypepublic void setAction(String action)
The type of job action to take to initiate the job abort.
action - The type of job action to take to initiate the job abort.AbortActionpublic String getAction()
The type of job action to take to initiate the job abort.
AbortActionpublic AbortCriteria withAction(String action)
The type of job action to take to initiate the job abort.
action - The type of job action to take to initiate the job abort.AbortActionpublic AbortCriteria withAction(AbortAction action)
The type of job action to take to initiate the job abort.
action - The type of job action to take to initiate the job abort.AbortActionpublic void setThresholdPercentage(Double thresholdPercentage)
The minimum percentage of job execution failures that must occur to initiate the job abort.
Amazon Web Services IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
thresholdPercentage - The minimum percentage of job execution failures that must occur to initiate the job abort.
        Amazon Web Services IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
public Double getThresholdPercentage()
The minimum percentage of job execution failures that must occur to initiate the job abort.
Amazon Web Services IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
Amazon Web Services IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
public AbortCriteria withThresholdPercentage(Double thresholdPercentage)
The minimum percentage of job execution failures that must occur to initiate the job abort.
Amazon Web Services IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
thresholdPercentage - The minimum percentage of job execution failures that must occur to initiate the job abort.
        Amazon Web Services IoT Core supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
public void setMinNumberOfExecutedThings(Integer minNumberOfExecutedThings)
The minimum number of things which must receive job execution notifications before the job can be aborted.
minNumberOfExecutedThings - The minimum number of things which must receive job execution notifications before the job can be aborted.public Integer getMinNumberOfExecutedThings()
The minimum number of things which must receive job execution notifications before the job can be aborted.
public AbortCriteria withMinNumberOfExecutedThings(Integer minNumberOfExecutedThings)
The minimum number of things which must receive job execution notifications before the job can be aborted.
minNumberOfExecutedThings - The minimum number of things which must receive job execution notifications before the job can be aborted.public String toString()
toString in class ObjectObject.toString()public AbortCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.