Interface IoTJobAbortCriteria.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IoTJobAbortCriteria.Builder,IoTJobAbortCriteria>,SdkBuilder<IoTJobAbortCriteria.Builder,IoTJobAbortCriteria>,SdkPojo
- Enclosing class:
- IoTJobAbortCriteria
public static interface IoTJobAbortCriteria.Builder extends SdkPojo, CopyableBuilder<IoTJobAbortCriteria.Builder,IoTJobAbortCriteria>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IoTJobAbortCriteria.Builderaction(String action)The action to perform when the criteria are met.IoTJobAbortCriteria.Builderaction(IoTJobAbortAction action)The action to perform when the criteria are met.IoTJobAbortCriteria.BuilderfailureType(String failureType)The type of job deployment failure that can cancel a job.IoTJobAbortCriteria.BuilderfailureType(IoTJobExecutionFailureType failureType)The type of job deployment failure that can cancel a job.IoTJobAbortCriteria.BuilderminNumberOfExecutedThings(Integer minNumberOfExecutedThings)The minimum number of things that receive the configuration before the job can cancel.IoTJobAbortCriteria.BuilderthresholdPercentage(Double thresholdPercentage)The minimum percentage offailureTypefailures that occur before the job can cancel.-
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
IoTJobAbortCriteria.Builder failureType(String failureType)
The type of job deployment failure that can cancel a job.
- Parameters:
failureType- The type of job deployment failure that can cancel a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IoTJobExecutionFailureType,IoTJobExecutionFailureType
-
failureType
IoTJobAbortCriteria.Builder failureType(IoTJobExecutionFailureType failureType)
The type of job deployment failure that can cancel a job.
- Parameters:
failureType- The type of job deployment failure that can cancel a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IoTJobExecutionFailureType,IoTJobExecutionFailureType
-
action
IoTJobAbortCriteria.Builder action(String action)
The action to perform when the criteria are met.
- Parameters:
action- The action to perform when the criteria are met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IoTJobAbortAction,IoTJobAbortAction
-
action
IoTJobAbortCriteria.Builder action(IoTJobAbortAction action)
The action to perform when the criteria are met.
- Parameters:
action- The action to perform when the criteria are met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IoTJobAbortAction,IoTJobAbortAction
-
thresholdPercentage
IoTJobAbortCriteria.Builder thresholdPercentage(Double thresholdPercentage)
The minimum percentage of
failureTypefailures that occur before the job can cancel.This parameter supports up to two digits after the decimal (for example, you can specify
10.9or10.99, but not10.999).- Parameters:
thresholdPercentage- The minimum percentage offailureTypefailures that occur before the job can cancel.This parameter supports up to two digits after the decimal (for example, you can specify
10.9or10.99, but not10.999).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minNumberOfExecutedThings
IoTJobAbortCriteria.Builder minNumberOfExecutedThings(Integer minNumberOfExecutedThings)
The minimum number of things that receive the configuration before the job can cancel.
- Parameters:
minNumberOfExecutedThings- The minimum number of things that receive the configuration before the job can cancel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-