Class HttpRetryOptions.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.HttpRetryOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpRetryOptions>
- Enclosing interface:
HttpRetryOptions
@Stability(Stable)
public static final class HttpRetryOptions.Builder
extends Object
implements software.amazon.jsii.Builder<HttpRetryOptions>
A builder for
HttpRetryOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofHttpRetryOptions.getDuration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
duration
Sets the value ofHttpRetryOptions.getDuration()- Parameters:
duration- The total amount of time that Kinesis Data Firehose spends on retries. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HttpRetryOptions>- Returns:
- a new instance of
HttpRetryOptions - Throws:
NullPointerException- if any required attribute was not provided
-