public static final class CfnRule.RetryPolicyProperty.Builder
extends java.lang.Object
CfnRule.RetryPolicyProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRule.RetryPolicyProperty |
build()
Builds the configured instance.
|
CfnRule.RetryPolicyProperty.Builder |
maximumEventAgeInSeconds(java.lang.Number maximumEventAgeInSeconds)
Sets the value of
CfnRule.RetryPolicyProperty.getMaximumEventAgeInSeconds() |
CfnRule.RetryPolicyProperty.Builder |
maximumRetryAttempts(java.lang.Number maximumRetryAttempts)
Sets the value of
CfnRule.RetryPolicyProperty.getMaximumRetryAttempts() |
public CfnRule.RetryPolicyProperty.Builder maximumEventAgeInSeconds(java.lang.Number maximumEventAgeInSeconds)
CfnRule.RetryPolicyProperty.getMaximumEventAgeInSeconds()
maximumEventAgeInSeconds
- The maximum amount of time, in seconds, to continue to make retry attempts.this
public CfnRule.RetryPolicyProperty.Builder maximumRetryAttempts(java.lang.Number maximumRetryAttempts)
CfnRule.RetryPolicyProperty.getMaximumRetryAttempts()
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.this
public CfnRule.RetryPolicyProperty build()
CfnRule.RetryPolicyProperty
java.lang.NullPointerException
- if any required attribute was not provided