Class AwsJobAbortCriteria
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.AwsJobAbortCriteria
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsJobAbortCriteria.Builder,AwsJobAbortCriteria>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsJobAbortCriteria.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AwsJobAbortCriteriaAbortActionaction()The type of job action to take to initiate the job abort.StringactionAsString()The type of job action to take to initiate the job abort.static AwsJobAbortCriteria.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AwsJobAbortCriteriaFailureTypefailureType()The type of job execution failures that can initiate a job abort.StringfailureTypeAsString()The type of job execution failures that can initiate a job abort.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerminNumberOfExecutedThings()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()DoublethresholdPercentage()The minimum percentage of job execution failures that must occur to initiate the job abort.AwsJobAbortCriteria.BuildertoBuilder()StringtoString()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 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,
failureTypewill returnAwsJobAbortCriteriaFailureType.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:
AwsJobAbortCriteriaFailureType
-
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,
failureTypewill returnAwsJobAbortCriteriaFailureType.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:
AwsJobAbortCriteriaFailureType
-
action
public 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,
actionwill returnAwsJobAbortCriteriaAbortAction.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:
AwsJobAbortCriteriaAbortAction
-
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,
actionwill returnAwsJobAbortCriteriaAbortAction.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:
AwsJobAbortCriteriaAbortAction
-
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 AwsJobAbortCriteria.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsJobAbortCriteria.Builder,AwsJobAbortCriteria>
-
builder
public static AwsJobAbortCriteria.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsJobAbortCriteria.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-