Class BufferingHints
- java.lang.Object
-
- software.amazon.awssdk.services.firehose.model.BufferingHints
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BufferingHints.Builder,BufferingHints>
@Generated("software.amazon.awssdk:codegen") public final class BufferingHints extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BufferingHints.Builder,BufferingHints>
Describes hints for the buffering to perform before delivering data to the destination. These options are treated as hints, and therefore Kinesis Data Firehose might choose to use different values when it is optimal. The
SizeInMBsandIntervalInSecondsparameters are optional. However, if specify a value for one of them, you must also provide a value for the other.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBufferingHints.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BufferingHints.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerintervalInSeconds()Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination.List<SdkField<?>>sdkFields()static Class<? extends BufferingHints.Builder>serializableBuilderClass()IntegersizeInMBs()Buffer incoming data to the specified size, in MiBs, before delivering it to the destination.BufferingHints.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sizeInMBs
public final Integer sizeInMBs()
Buffer incoming data to the specified size, in MiBs, before delivering it to the destination. The default value is 5. This parameter is optional but if you specify a value for it, you must also specify a value for
IntervalInSeconds, and vice versa.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 MiB/sec, the value should be 10 MiB or higher.
- Returns:
- Buffer incoming data to the specified size, in MiBs, before delivering it to the destination. The default
value is 5. This parameter is optional but if you specify a value for it, you must also specify a value
for
IntervalInSeconds, and vice versa.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 MiB/sec, the value should be 10 MiB or higher.
-
intervalInSeconds
public final Integer intervalInSeconds()
Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300. This parameter is optional but if you specify a value for it, you must also specify a value for
SizeInMBs, and vice versa.- Returns:
- Buffer incoming data for the specified period of time, in seconds, before delivering it to the
destination. The default value is 300. This parameter is optional but if you specify a value for it, you
must also specify a value for
SizeInMBs, and vice versa.
-
toBuilder
public BufferingHints.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BufferingHints.Builder,BufferingHints>
-
builder
public static BufferingHints.Builder builder()
-
serializableBuilderClass
public static Class<? extends BufferingHints.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-