Class CfnCanaryPropsMixin.RetryConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.synthetics.mixins.CfnCanaryPropsMixin.RetryConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCanaryPropsMixin.RetryConfigProperty>
- Enclosing interface:
CfnCanaryPropsMixin.RetryConfigProperty
@Stability(Stable)
public static final class CfnCanaryPropsMixin.RetryConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCanaryPropsMixin.RetryConfigProperty>
A builder for
CfnCanaryPropsMixin.RetryConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxRetries(Number maxRetries) Sets the value ofCfnCanaryPropsMixin.RetryConfigProperty.getMaxRetries()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxRetries
@Stability(Stable) public CfnCanaryPropsMixin.RetryConfigProperty.Builder maxRetries(Number maxRetries) Sets the value ofCfnCanaryPropsMixin.RetryConfigProperty.getMaxRetries()- Parameters:
maxRetries- The maximum number of retries. The value must be less than or equal to two.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCanaryPropsMixin.RetryConfigProperty>- Returns:
- a new instance of
CfnCanaryPropsMixin.RetryConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-