@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 Object
Object.toString()
public RetryPolicyConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.