@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetryCriteria extends Object implements Serializable, Cloneable, StructuredPojo
The criteria that determines how many retries are allowed for each failure type for a job.
Constructor and Description |
---|
RetryCriteria() |
Modifier and Type | Method and Description |
---|---|
RetryCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getFailureType()
The type of job execution failures that can initiate a job retry.
|
Integer |
getNumberOfRetries()
The number of retries allowed for a failure type for the job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureType(String failureType)
The type of job execution failures that can initiate a job retry.
|
void |
setNumberOfRetries(Integer numberOfRetries)
The number of retries allowed for a failure type for the job.
|
String |
toString()
Returns a string representation of this object.
|
RetryCriteria |
withFailureType(RetryableFailureType failureType)
The type of job execution failures that can initiate a job retry.
|
RetryCriteria |
withFailureType(String failureType)
The type of job execution failures that can initiate a job retry.
|
RetryCriteria |
withNumberOfRetries(Integer numberOfRetries)
The number of retries allowed for a failure type for the job.
|
public void setFailureType(String failureType)
The type of job execution failures that can initiate a job retry.
failureType
- The type of job execution failures that can initiate a job retry.RetryableFailureType
public String getFailureType()
The type of job execution failures that can initiate a job retry.
RetryableFailureType
public RetryCriteria withFailureType(String failureType)
The type of job execution failures that can initiate a job retry.
failureType
- The type of job execution failures that can initiate a job retry.RetryableFailureType
public RetryCriteria withFailureType(RetryableFailureType failureType)
The type of job execution failures that can initiate a job retry.
failureType
- The type of job execution failures that can initiate a job retry.RetryableFailureType
public void setNumberOfRetries(Integer numberOfRetries)
The number of retries allowed for a failure type for the job.
numberOfRetries
- The number of retries allowed for a failure type for the job.public Integer getNumberOfRetries()
The number of retries allowed for a failure type for the job.
public RetryCriteria withNumberOfRetries(Integer numberOfRetries)
The number of retries allowed for a failure type for the job.
numberOfRetries
- The number of retries allowed for a failure type for the job.public String toString()
toString
in class Object
Object.toString()
public RetryCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.