@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
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, failureType
will
return AwsJobAbortCriteriaFailureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from failureTypeAsString()
.
AwsJobAbortCriteriaFailureType
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 AwsJobAbortCriteriaFailureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from failureTypeAsString()
.
AwsJobAbortCriteriaFailureType
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, action
will
return AwsJobAbortCriteriaAbortAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from actionAsString()
.
AwsJobAbortCriteriaAbortAction
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 AwsJobAbortCriteriaAbortAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from actionAsString()
.
AwsJobAbortCriteriaAbortAction
public 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()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.