Class CfnSchedule.RetryPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.scheduler.CfnSchedule.RetryPolicyProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnSchedule.RetryPolicyProperty>
- Enclosing interface:
- CfnSchedule.RetryPolicyProperty
@Stability(Stable)
public static final class CfnSchedule.RetryPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchedule.RetryPolicyProperty>
A builder for 
CfnSchedule.RetryPolicyProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.maximumEventAgeInSeconds(Number maximumEventAgeInSeconds) Sets the value ofCfnSchedule.RetryPolicyProperty.getMaximumEventAgeInSeconds()maximumRetryAttempts(Number maximumRetryAttempts) Sets the value ofCfnSchedule.RetryPolicyProperty.getMaximumRetryAttempts()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
maximumEventAgeInSeconds@Stability(Stable) public CfnSchedule.RetryPolicyProperty.Builder maximumEventAgeInSeconds(Number maximumEventAgeInSeconds) Sets the value ofCfnSchedule.RetryPolicyProperty.getMaximumEventAgeInSeconds()- Parameters:
- maximumEventAgeInSeconds- The maximum amount of time, in seconds, to continue to make retry attempts.
- Returns:
- this
 
- 
maximumRetryAttempts@Stability(Stable) public CfnSchedule.RetryPolicyProperty.Builder maximumRetryAttempts(Number maximumRetryAttempts) Sets the value ofCfnSchedule.RetryPolicyProperty.getMaximumRetryAttempts()- Parameters:
- maximumRetryAttempts- The maximum number of retry attempts to make before the request fails. Retry attempts with exponential backoff continue until either the maximum number of attempts is made or until the duration of the- MaximumEventAgeInSecondsis reached.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnSchedule.RetryPolicyProperty>
- Returns:
- a new instance of CfnSchedule.RetryPolicyProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-