@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BufferingHints extends Object implements Serializable, Cloneable, StructuredPojo
Describes hints for the buffering to perform before delivering data to the destination. Please note that these options are treated as hints, and therefore Kinesis Firehose may choose to use different values when it is optimal.
Constructor and Description |
---|
BufferingHints() |
Modifier and Type | Method and Description |
---|---|
BufferingHints |
clone() |
boolean |
equals(Object obj) |
Integer |
getIntervalInSeconds()
Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination.
|
Integer |
getSizeInMBs()
Buffer incoming data to the specified size, in MBs, before delivering it to the destination.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIntervalInSeconds(Integer intervalInSeconds)
Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination.
|
void |
setSizeInMBs(Integer sizeInMBs)
Buffer incoming data to the specified size, in MBs, before delivering it to the destination.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BufferingHints |
withIntervalInSeconds(Integer intervalInSeconds)
Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination.
|
BufferingHints |
withSizeInMBs(Integer sizeInMBs)
Buffer incoming data to the specified size, in MBs, before delivering it to the destination.
|
public void setSizeInMBs(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.
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.
public Integer getSizeInMBs()
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 BufferingHints withSizeInMBs(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.
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.
public void setIntervalInSeconds(Integer intervalInSeconds)
Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300.
intervalInSeconds
- Buffer incoming data for the specified period of time, in seconds, before delivering it to the
destination. The default value is 300.public Integer getIntervalInSeconds()
Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300.
public BufferingHints withIntervalInSeconds(Integer intervalInSeconds)
Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300.
intervalInSeconds
- Buffer incoming data for the specified period of time, in seconds, before delivering it to the
destination. The default value is 300.public String toString()
toString
in class Object
Object.toString()
public BufferingHints clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.