Class RetryCriteria
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.RetryCriteria
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RetryCriteria.Builder,RetryCriteria>
@Generated("software.amazon.awssdk:codegen") public final class RetryCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RetryCriteria.Builder,RetryCriteria>
The criteria that determines how many retries are allowed for each failure type for a job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RetryCriteria.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RetryCriteria.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
RetryableFailureType
failureType()
The type of job execution failures that can initiate a job retry.String
failureTypeAsString()
The type of job execution failures that can initiate a job retry.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
numberOfRetries()
The number of retries allowed for a failure type for the job.List<SdkField<?>>
sdkFields()
static Class<? extends RetryCriteria.Builder>
serializableBuilderClass()
RetryCriteria.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 RetryableFailureType failureType()
The type of job execution failures that can initiate a job retry.
If the service returns an enum value that is not available in the current SDK version,
failureType
will returnRetryableFailureType.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 retry.
- See Also:
RetryableFailureType
-
failureTypeAsString
public final String failureTypeAsString()
The type of job execution failures that can initiate a job retry.
If the service returns an enum value that is not available in the current SDK version,
failureType
will returnRetryableFailureType.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 retry.
- See Also:
RetryableFailureType
-
numberOfRetries
public final Integer numberOfRetries()
The number of retries allowed for a failure type for the job.
- Returns:
- The number of retries allowed for a failure type for the job.
-
toBuilder
public RetryCriteria.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<RetryCriteria.Builder,RetryCriteria>
-
builder
public static RetryCriteria.Builder builder()
-
serializableBuilderClass
public static Class<? extends RetryCriteria.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.
-
-