@Generated(value="software.amazon.awssdk:codegen") public final class AbortCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AbortCriteria.Builder,AbortCriteria>
The criteria that determine when and how a job abort takes place.
Modifier and Type | Class and Description |
---|---|
static interface |
AbortCriteria.Builder |
Modifier and Type | Method and Description |
---|---|
AbortAction |
action()
The type of job action to take to initiate the job abort.
|
String |
actionAsString()
The type of job action to take to initiate the job abort.
|
static AbortCriteria.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
JobExecutionFailureType |
failureType()
The type of job execution failures that can initiate a job abort.
|
String |
failureTypeAsString()
The type of job execution failures that can initiate a job abort.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
minNumberOfExecutedThings()
The minimum number of things which must receive job execution notifications before the job can be aborted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AbortCriteria.Builder> |
serializableBuilderClass() |
Double |
thresholdPercentage()
The minimum percentage of job execution failures that must occur to initiate the job abort.
|
AbortCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final JobExecutionFailureType failureType()
The type of job execution failures that can 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 final String failureTypeAsString()
The type of job execution failures that can 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 final AbortAction action()
The type of job action to take to initiate the 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 final String actionAsString()
The type of job action to take to initiate the 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 final 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).
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 final Integer minNumberOfExecutedThings()
The minimum number of things which must receive job execution notifications before the job can be aborted.
public AbortCriteria.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AbortCriteria.Builder,AbortCriteria>
public static AbortCriteria.Builder builder()
public static Class<? extends AbortCriteria.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.