@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnowflakeRetryOptions extends Object implements Serializable, Cloneable, StructuredPojo
Specify how long Firehose retries sending data to the New Relic HTTP endpoint. After sending 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, Firehose starts the retry duration counter. It keeps retrying until the retry duration expires. After that, Firehose considers it a data delivery failure and backs up the data to your Amazon S3 bucket. Every time that 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, Firehose still waits for the acknowledgment until it receives it or the acknowledgement timeout period is reached. If the acknowledgment times out, 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 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 Firehose will retry sending data to the chosen HTTP endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDurationInSeconds(Integer durationInSeconds)
the time period where 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 Firehose will retry sending data to the chosen HTTP endpoint.
|
public void setDurationInSeconds(Integer durationInSeconds)
the time period where Firehose will retry sending data to the chosen HTTP endpoint.
durationInSeconds
- the time period where Firehose will retry sending data to the chosen HTTP endpoint.public Integer getDurationInSeconds()
the time period where Firehose will retry sending data to the chosen HTTP endpoint.
public SnowflakeRetryOptions withDurationInSeconds(Integer durationInSeconds)
the time period where Firehose will retry sending data to the chosen HTTP endpoint.
durationInSeconds
- the time period where Firehose will retry sending data to the chosen HTTP endpoint.public String toString()
toString
in class Object
Object.toString()
public SnowflakeRetryOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.