@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnowflakeRetryOptions extends Object implements Serializable, Cloneable, StructuredPojo
Specify how long Kinesis Data Firehose retries sending data to the New Relic HTTP endpoint. After sending data, Kinesis Data Firehose first waits for an acknowledgment from the HTTP endpoint. If an error occurs or the acknowledgment doesn’t arrive within the acknowledgment timeout period, Kinesis Data Firehose starts the retry duration counter. It keeps retrying until the retry duration expires. After that, Kinesis Data Firehose considers it a data delivery failure and backs up the data to your Amazon S3 bucket. Every time that Kinesis Data Firehose sends data to the HTTP endpoint (either the initial attempt or a retry), it restarts the acknowledgement timeout counter and waits for an acknowledgement from the HTTP endpoint. Even if the retry duration expires, Kinesis Data Firehose still waits for the acknowledgment until it receives it or the acknowledgement timeout period is reached. If the acknowledgment times out, Kinesis Data Firehose determines whether there's time left in the retry counter. If there is time left, it retries again and repeats the logic until it receives an acknowledgment or determines that the retry time has expired. If you don't want Kinesis Data Firehose to retry sending data, set this value to 0.
| Constructor and Description |
|---|
SnowflakeRetryOptions() |
| Modifier and Type | Method and Description |
|---|---|
SnowflakeRetryOptions |
clone() |
boolean |
equals(Object obj) |
Integer |
getDurationInSeconds()
the time period where Kinesis Data Firehose will retry sending data to the chosen HTTP endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDurationInSeconds(Integer durationInSeconds)
the time period where Kinesis Data Firehose will retry sending data to the chosen HTTP endpoint.
|
String |
toString()
Returns a string representation of this object.
|
SnowflakeRetryOptions |
withDurationInSeconds(Integer durationInSeconds)
the time period where Kinesis Data Firehose will retry sending data to the chosen HTTP endpoint.
|
public void setDurationInSeconds(Integer durationInSeconds)
the time period where Kinesis Data Firehose will retry sending data to the chosen HTTP endpoint.
durationInSeconds - the time period where Kinesis Data Firehose will retry sending data to the chosen HTTP endpoint.public Integer getDurationInSeconds()
the time period where Kinesis Data Firehose will retry sending data to the chosen HTTP endpoint.
public SnowflakeRetryOptions withDurationInSeconds(Integer durationInSeconds)
the time period where Kinesis Data Firehose will retry sending data to the chosen HTTP endpoint.
durationInSeconds - the time period where Kinesis Data Firehose will retry sending data to the chosen HTTP endpoint.public String toString()
toString in class ObjectObject.toString()public SnowflakeRetryOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.