@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbortCriteria extends Object implements Serializable, Cloneable, StructuredPojo
Details of abort criteria to define rules to abort the job.
Constructor and Description |
---|
AbortCriteria() |
Modifier and Type | Method and Description |
---|---|
AbortCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The type of abort action to initiate a job abort.
|
String |
getFailureType()
The type of job execution failure to define a rule to initiate a job abort.
|
Integer |
getMinNumberOfExecutedThings()
Minimum number of executed things before evaluating an abort rule.
|
Double |
getThresholdPercentage()
The threshold as a percentage of the total number of executed things that will initiate a job abort.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
The type of abort action to initiate a job abort.
|
void |
setFailureType(String failureType)
The type of job execution failure to define a rule to initiate a job abort.
|
void |
setMinNumberOfExecutedThings(Integer minNumberOfExecutedThings)
Minimum number of executed things before evaluating an abort rule.
|
void |
setThresholdPercentage(Double thresholdPercentage)
The threshold as a percentage of the total number of executed things that will initiate a job abort.
|
String |
toString()
Returns a string representation of this object.
|
AbortCriteria |
withAction(AbortAction action)
The type of abort action to initiate a job abort.
|
AbortCriteria |
withAction(String action)
The type of abort action to initiate a job abort.
|
AbortCriteria |
withFailureType(JobExecutionFailureType failureType)
The type of job execution failure to define a rule to initiate a job abort.
|
AbortCriteria |
withFailureType(String failureType)
The type of job execution failure to define a rule to initiate a job abort.
|
AbortCriteria |
withMinNumberOfExecutedThings(Integer minNumberOfExecutedThings)
Minimum number of executed things before evaluating an abort rule.
|
AbortCriteria |
withThresholdPercentage(Double thresholdPercentage)
The threshold as a percentage of the total number of executed things that will initiate a job abort.
|
public void setFailureType(String failureType)
The type of job execution failure to define a rule to initiate a job abort.
failureType
- The type of job execution failure to define a rule to initiate a job abort.JobExecutionFailureType
public String getFailureType()
The type of job execution failure to define a rule to initiate a job abort.
JobExecutionFailureType
public AbortCriteria withFailureType(String failureType)
The type of job execution failure to define a rule to initiate a job abort.
failureType
- The type of job execution failure to define a rule to initiate a job abort.JobExecutionFailureType
public AbortCriteria withFailureType(JobExecutionFailureType failureType)
The type of job execution failure to define a rule to initiate a job abort.
failureType
- The type of job execution failure to define a rule to initiate a job abort.JobExecutionFailureType
public void setAction(String action)
The type of abort action to initiate a job abort.
action
- The type of abort action to initiate a job abort.AbortAction
public String getAction()
The type of abort action to initiate a job abort.
AbortAction
public AbortCriteria withAction(String action)
The type of abort action to initiate a job abort.
action
- The type of abort action to initiate a job abort.AbortAction
public AbortCriteria withAction(AbortAction action)
The type of abort action to initiate a job abort.
action
- The type of abort action to initiate a job abort.AbortAction
public void setThresholdPercentage(Double thresholdPercentage)
The threshold as a percentage of the total number of executed things that will initiate a job abort.
AWS IoT supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
thresholdPercentage
- The threshold as a percentage of the total number of executed things that will initiate a job abort.
AWS IoT supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
public Double getThresholdPercentage()
The threshold as a percentage of the total number of executed things that will initiate a job abort.
AWS IoT supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
AWS IoT 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 threshold as a percentage of the total number of executed things that will initiate a job abort.
AWS IoT supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
thresholdPercentage
- The threshold as a percentage of the total number of executed things that will initiate a job abort.
AWS IoT supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
public void setMinNumberOfExecutedThings(Integer minNumberOfExecutedThings)
Minimum number of executed things before evaluating an abort rule.
minNumberOfExecutedThings
- Minimum number of executed things before evaluating an abort rule.public Integer getMinNumberOfExecutedThings()
Minimum number of executed things before evaluating an abort rule.
public AbortCriteria withMinNumberOfExecutedThings(Integer minNumberOfExecutedThings)
Minimum number of executed things before evaluating an abort rule.
minNumberOfExecutedThings
- Minimum number of executed things before evaluating an abort rule.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.