Class AbortCriteria
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.AbortCriteria
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AbortCriteria.Builder,AbortCriteria>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AbortCriteria.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
failureType
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 returnJobExecutionFailureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfailureTypeAsString()
.- Returns:
- The type of job execution failures that can initiate a job abort.
- See Also:
JobExecutionFailureType
-
failureTypeAsString
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 returnJobExecutionFailureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfailureTypeAsString()
.- Returns:
- The type of job execution failures that can initiate a job abort.
- See Also:
JobExecutionFailureType
-
action
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 returnAbortAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromactionAsString()
.- Returns:
- The type of job action to take to initiate the job abort.
- See Also:
AbortAction
-
actionAsString
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 returnAbortAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromactionAsString()
.- Returns:
- The type of job action to take to initiate the job abort.
- See Also:
AbortAction
-
thresholdPercentage
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).
- Returns:
- 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).
-
minNumberOfExecutedThings
public final Integer minNumberOfExecutedThings()
The minimum number of things which must receive job execution notifications before the job can be aborted.
- Returns:
- The minimum number of things which must receive job execution notifications before the job can be aborted.
-
toBuilder
public AbortCriteria.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AbortCriteria.Builder,AbortCriteria>
-
builder
public static AbortCriteria.Builder builder()
-
serializableBuilderClass
public static Class<? extends AbortCriteria.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-