StructuredPojo
, ToCopyableBuilder<BufferingHints.Builder,BufferingHints>
@Generated("software.amazon.awssdk:codegen") public class BufferingHints extends Object implements StructuredPojo, ToCopyableBuilder<BufferingHints.Builder,BufferingHints>
Describes hints for the buffering to perform before delivering data to the destination. Please note that these options are treated as hints, and therefore Firehose may choose to use different values when it is optimal.
Modifier and Type | Class | Description |
---|---|---|
static interface |
BufferingHints.Builder |
Modifier and Type | Method | Description |
---|---|---|
static BufferingHints.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Integer |
intervalInSeconds() |
Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends BufferingHints.Builder> |
serializableBuilderClass() |
|
Integer |
sizeInMBs() |
Buffer incoming data to the specified size, in MBs, before delivering it to the destination.
|
BufferingHints.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Integer sizeInMBs()
Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5.
We recommend setting this parameter to a value greater than the amount of data you typically ingest into the delivery stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher.
We recommend setting this parameter to a value greater than the amount of data you typically ingest into the delivery stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher.
public Integer intervalInSeconds()
Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300.
public BufferingHints.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BufferingHints.Builder,BufferingHints>
public static BufferingHints.Builder builder()
public static Class<? extends BufferingHints.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.