@Generated(value="software.amazon.awssdk:codegen") public final class ElasticsearchBufferingHints extends Object implements StructuredPojo, ToCopyableBuilder<ElasticsearchBufferingHints.Builder,ElasticsearchBufferingHints>
Describes the buffering to perform before delivering data to the Amazon ES destination.
Modifier and Type | Class and Description |
---|---|
static interface |
ElasticsearchBufferingHints.Builder |
Modifier and Type | Method and Description |
---|---|
static ElasticsearchBufferingHints.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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 ElasticsearchBufferingHints.Builder> |
serializableBuilderClass() |
Integer |
sizeInMBs()
Buffer incoming data to the specified size, in MBs, before delivering it to the destination.
|
ElasticsearchBufferingHints.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
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 (5 minutes).
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 ElasticsearchBufferingHints.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ElasticsearchBufferingHints.Builder,ElasticsearchBufferingHints>
public static ElasticsearchBufferingHints.Builder builder()
public static Class<? extends ElasticsearchBufferingHints.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.