@Generated(value="software.amazon.awssdk:codegen") public final class AwsJobAbortCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsJobAbortCriteria.Builder,AwsJobAbortCriteria>
The criteria that determine when and how a job abort takes place.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsJobAbortCriteria.Builder |
| Modifier and Type | Method and Description |
|---|---|
AwsJobAbortCriteriaAbortAction |
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 AwsJobAbortCriteria.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
AwsJobAbortCriteriaFailureType |
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 AwsJobAbortCriteria.Builder> |
serializableBuilderClass() |
Double |
thresholdPercentage()
The minimum percentage of job execution failures that must occur to initiate the job abort.
|
AwsJobAbortCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AwsJobAbortCriteriaFailureType 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 AwsJobAbortCriteriaFailureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from failureTypeAsString().
AwsJobAbortCriteriaFailureTypepublic 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 AwsJobAbortCriteriaFailureType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from failureTypeAsString().
AwsJobAbortCriteriaFailureTypepublic final AwsJobAbortCriteriaAbortAction 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 AwsJobAbortCriteriaAbortAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from actionAsString().
AwsJobAbortCriteriaAbortActionpublic 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 AwsJobAbortCriteriaAbortAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from actionAsString().
AwsJobAbortCriteriaAbortActionpublic final Double thresholdPercentage()
The minimum percentage of job execution failures that must occur to initiate the 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 final Integer minNumberOfExecutedThings()
The minimum number of things which must receive job execution notifications before the job can be aborted.
public AwsJobAbortCriteria.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsJobAbortCriteria.Builder,AwsJobAbortCriteria>public static AwsJobAbortCriteria.Builder builder()
public static Class<? extends AwsJobAbortCriteria.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.