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