Interface AbortCriteria.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AbortCriteria.Builder,AbortCriteria>
,SdkBuilder<AbortCriteria.Builder,AbortCriteria>
,SdkPojo
- Enclosing class:
- AbortCriteria
public static interface AbortCriteria.Builder extends SdkPojo, CopyableBuilder<AbortCriteria.Builder,AbortCriteria>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbortCriteria.Builder
action(String action)
The type of job action to take to initiate the job abort.AbortCriteria.Builder
action(AbortAction action)
The type of job action to take to initiate the job abort.AbortCriteria.Builder
failureType(String failureType)
The type of job execution failures that can initiate a job abort.AbortCriteria.Builder
failureType(JobExecutionFailureType failureType)
The type of job execution failures that can initiate a job abort.AbortCriteria.Builder
minNumberOfExecutedThings(Integer minNumberOfExecutedThings)
The minimum number of things which must receive job execution notifications before the job can be aborted.AbortCriteria.Builder
thresholdPercentage(Double thresholdPercentage)
The minimum percentage of job execution failures that must occur to initiate the job abort.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
failureType
AbortCriteria.Builder failureType(String failureType)
The type of job execution failures that can initiate a job abort.
- Parameters:
failureType
- The type of job execution failures that can initiate a job abort.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobExecutionFailureType
,JobExecutionFailureType
-
failureType
AbortCriteria.Builder failureType(JobExecutionFailureType failureType)
The type of job execution failures that can initiate a job abort.
- Parameters:
failureType
- The type of job execution failures that can initiate a job abort.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobExecutionFailureType
,JobExecutionFailureType
-
action
AbortCriteria.Builder action(String action)
The type of job action to take to initiate the job abort.
- Parameters:
action
- The type of job action to take to initiate the job abort.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AbortAction
,AbortAction
-
action
AbortCriteria.Builder action(AbortAction action)
The type of job action to take to initiate the job abort.
- Parameters:
action
- The type of job action to take to initiate the job abort.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AbortAction
,AbortAction
-
thresholdPercentage
AbortCriteria.Builder thresholdPercentage(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).
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
minNumberOfExecutedThings
AbortCriteria.Builder minNumberOfExecutedThings(Integer minNumberOfExecutedThings)
The minimum number of things which must receive job execution notifications before the job can be aborted.
- Parameters:
minNumberOfExecutedThings
- The minimum number of things which must receive job execution notifications before the job can be aborted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-