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 Details

    • Builder

      public Builder()
  • Method Details

    • interval

      @Stability(Stable) public HttpBufferingHints.Builder interval(Duration interval)
      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

      @Stability(Stable) public HttpBufferingHints.Builder size(Size size)
      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

      @Stability(Stable) public HttpBufferingHints build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<HttpBufferingHints>
      Returns:
      a new instance of HttpBufferingHints
      Throws:
      NullPointerException - if any required attribute was not provided