Class CfnDeliveryStream.RetryOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.RetryOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.RetryOptionsProperty>
- Enclosing interface:
CfnDeliveryStream.RetryOptionsProperty
@Stability(Stable)
public static final class CfnDeliveryStream.RetryOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.RetryOptionsProperty>
A builder for
CfnDeliveryStream.RetryOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.durationInSeconds
(Number durationInSeconds) Sets the value ofCfnDeliveryStream.RetryOptionsProperty.getDurationInSeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
durationInSeconds
@Stability(Stable) public CfnDeliveryStream.RetryOptionsProperty.Builder durationInSeconds(Number durationInSeconds) Sets the value ofCfnDeliveryStream.RetryOptionsProperty.getDurationInSeconds()
- Parameters:
durationInSeconds
- The total amount of time that Kinesis Data Firehose spends on retries. This duration starts after the initial attempt to send data to the custom destination via HTTPS endpoint fails. It doesn't include the periods during which Kinesis Data Firehose waits for acknowledgment from the specified destination after each attempt.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.RetryOptionsProperty>
- Returns:
- a new instance of
CfnDeliveryStream.RetryOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-