Class HttpEndpointBufferingHints
- java.lang.Object
-
- software.amazon.awssdk.services.firehose.model.HttpEndpointBufferingHints
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HttpEndpointBufferingHints.Builder,HttpEndpointBufferingHints>
@Generated("software.amazon.awssdk:codegen") public final class HttpEndpointBufferingHints extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HttpEndpointBufferingHints.Builder,HttpEndpointBufferingHints>
Describes the buffering options that can be applied before data is delivered to the HTTP endpoint destination. Kinesis Data Firehose treats these options as hints, and it might choose to use more optimal values. 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 interfaceHttpEndpointBufferingHints.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpEndpointBufferingHints.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 HttpEndpointBufferingHints.Builder>serializableBuilderClass()IntegersizeInMBs()Buffer incoming data to the specified size, in MBs, before delivering it to the destination.HttpEndpointBufferingHints.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 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.
- Returns:
- 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.
-
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 (5 minutes).
- Returns:
- Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes).
-
toBuilder
public HttpEndpointBufferingHints.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HttpEndpointBufferingHints.Builder,HttpEndpointBufferingHints>
-
builder
public static HttpEndpointBufferingHints.Builder builder()
-
serializableBuilderClass
public static Class<? extends HttpEndpointBufferingHints.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.
-
-