Class HttpBufferingHints.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.HttpBufferingHints.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpBufferingHints>
- Enclosing interface:
HttpBufferingHints
@Stability(Stable)
public static final class HttpBufferingHints.Builder
extends Object
implements software.amazon.jsii.Builder<HttpBufferingHints>
A builder for
HttpBufferingHints-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofHttpBufferingHints.getInterval()Sets the value ofHttpBufferingHints.getSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
interval
Sets the value ofHttpBufferingHints.getInterval()- Parameters:
interval- The higher interval allows more time to collect data and the size of data may be bigger. The lower interval sends the data more frequently and may be more advantageous when looking at shorter cycles of data activity.- Returns:
this
-
size
Sets the value ofHttpBufferingHints.getSize()- Parameters:
size- The higher buffer size may be lower in cost with higher latency. The lower buffer size will be faster in delivery with higher cost and less latency.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HttpBufferingHints>- Returns:
- a new instance of
HttpBufferingHints - Throws:
NullPointerException- if any required attribute was not provided
-