@Generated(value="software.amazon.awssdk:codegen") public final class AbortCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AbortCriteria.Builder,AbortCriteria>
Details of abort criteria to define rules to abort the job.
Modifier and Type | Class and Description |
---|---|
static interface |
AbortCriteria.Builder |
Modifier and Type | Method and Description |
---|---|
AbortAction |
action()
The type of abort action to initiate a job abort.
|
String |
actionAsString()
The type of abort action to initiate a job abort.
|
static AbortCriteria.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
JobExecutionFailureType |
failureType()
The type of job execution failure to define a rule to initiate a job abort.
|
String |
failureTypeAsString()
The type of job execution failure to define a rule to initiate a job abort.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
minNumberOfExecutedThings()
Minimum number of executed things before evaluating an abort rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AbortCriteria.Builder> |
serializableBuilderClass() |
Double |
thresholdPercentage()
The threshold as a percentage of the total number of executed things that will initiate a job abort.
|
AbortCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public JobExecutionFailureType failureType()
The type of job execution failure to define a rule to initiate a job abort.
If the service returns an enum value that is not available in the current SDK version, failureType
will
return JobExecutionFailureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from failureTypeAsString()
.
JobExecutionFailureType
public String failureTypeAsString()
The type of job execution failure to define a rule to initiate a job abort.
If the service returns an enum value that is not available in the current SDK version, failureType
will
return JobExecutionFailureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from failureTypeAsString()
.
JobExecutionFailureType
public AbortAction action()
The type of abort action to initiate a job abort.
If the service returns an enum value that is not available in the current SDK version, action
will
return AbortAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
AbortAction
public String actionAsString()
The type of abort action to initiate a job abort.
If the service returns an enum value that is not available in the current SDK version, action
will
return AbortAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
AbortAction
public 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).
AWS IoT supports up to two digits after the decimal (for example, 10.9 and 10.99, but not 10.999).
public Integer minNumberOfExecutedThings()
Minimum number of executed things before evaluating an abort rule.
public AbortCriteria.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AbortCriteria.Builder,AbortCriteria>
public static AbortCriteria.Builder builder()
public static Class<? extends AbortCriteria.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.