@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.JobExecutionFailureType
public String getFailureType()
The type of job execution failures that can initiate a job abort.
JobExecutionFailureType
public 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.JobExecutionFailureType
public 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.JobExecutionFailureType
public 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.AbortAction
public String getAction()
The type of job action to take to initiate the job abort.
AbortAction
public 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.AbortAction
public 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.AbortAction
public 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 Object
Object.toString()
public AbortCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.