@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetryPolicy extends Object implements Serializable, Cloneable, StructuredPojo
A RetryPolicy
object that includes information about the retry policy settings.
Constructor and Description |
---|
RetryPolicy() |
Modifier and Type | Method and Description |
---|---|
RetryPolicy |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaximumEventAgeInSeconds()
The maximum amount of time, in seconds, to continue to make retry attempts.
|
Integer |
getMaximumRetryAttempts()
The maximum number of retry attempts to make before the request fails.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaximumEventAgeInSeconds(Integer maximumEventAgeInSeconds)
The maximum amount of time, in seconds, to continue to make retry attempts.
|
void |
setMaximumRetryAttempts(Integer maximumRetryAttempts)
The maximum number of retry attempts to make before the request fails.
|
String |
toString()
Returns a string representation of this object.
|
RetryPolicy |
withMaximumEventAgeInSeconds(Integer maximumEventAgeInSeconds)
The maximum amount of time, in seconds, to continue to make retry attempts.
|
RetryPolicy |
withMaximumRetryAttempts(Integer maximumRetryAttempts)
The maximum number of retry attempts to make before the request fails.
|
public void setMaximumRetryAttempts(Integer maximumRetryAttempts)
The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the
maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds
is met.
maximumRetryAttempts
- The maximum number of retry attempts to make before the request fails. Retry attempts continue until
either the maximum number of attempts is made or until the duration of the
MaximumEventAgeInSeconds
is met.public Integer getMaximumRetryAttempts()
The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the
maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds
is met.
MaximumEventAgeInSeconds
is met.public RetryPolicy withMaximumRetryAttempts(Integer maximumRetryAttempts)
The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the
maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds
is met.
maximumRetryAttempts
- The maximum number of retry attempts to make before the request fails. Retry attempts continue until
either the maximum number of attempts is made or until the duration of the
MaximumEventAgeInSeconds
is met.public void setMaximumEventAgeInSeconds(Integer maximumEventAgeInSeconds)
The maximum amount of time, in seconds, to continue to make retry attempts.
maximumEventAgeInSeconds
- The maximum amount of time, in seconds, to continue to make retry attempts.public Integer getMaximumEventAgeInSeconds()
The maximum amount of time, in seconds, to continue to make retry attempts.
public RetryPolicy withMaximumEventAgeInSeconds(Integer maximumEventAgeInSeconds)
The maximum amount of time, in seconds, to continue to make retry attempts.
maximumEventAgeInSeconds
- The maximum amount of time, in seconds, to continue to make retry attempts.public String toString()
toString
in class Object
Object.toString()
public RetryPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.