@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetryPolicyConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of the retry policy that the job runs on.
| Constructor and Description |
|---|
RetryPolicyConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
RetryPolicyConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxAttempts()
The maximum number of attempts on the job's driver.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMaxAttempts(Integer maxAttempts)
The maximum number of attempts on the job's driver.
|
String |
toString()
Returns a string representation of this object.
|
RetryPolicyConfiguration |
withMaxAttempts(Integer maxAttempts)
The maximum number of attempts on the job's driver.
|
public void setMaxAttempts(Integer maxAttempts)
The maximum number of attempts on the job's driver.
maxAttempts - The maximum number of attempts on the job's driver.public Integer getMaxAttempts()
The maximum number of attempts on the job's driver.
public RetryPolicyConfiguration withMaxAttempts(Integer maxAttempts)
The maximum number of attempts on the job's driver.
maxAttempts - The maximum number of attempts on the job's driver.public String toString()
toString in class ObjectObject.toString()public RetryPolicyConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.