@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HttpEndpointRetryOptions extends Object implements Serializable, Cloneable, StructuredPojo
Describes the retry behavior in case Kinesis Data Firehose is unable to deliver data to the specified HTTP endpoint destination, or if it doesn't receive a valid acknowledgment of receipt from the specified HTTP endpoint destination.
Constructor and Description |
---|
HttpEndpointRetryOptions() |
Modifier and Type | Method and Description |
---|---|
HttpEndpointRetryOptions |
clone() |
boolean |
equals(Object obj) |
Integer |
getDurationInSeconds()
The total amount of time that Kinesis Data Firehose spends on retries.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDurationInSeconds(Integer durationInSeconds)
The total amount of time that Kinesis Data Firehose spends on retries.
|
String |
toString()
Returns a string representation of this object.
|
HttpEndpointRetryOptions |
withDurationInSeconds(Integer durationInSeconds)
The total amount of time that Kinesis Data Firehose spends on retries.
|
public void setDurationInSeconds(Integer durationInSeconds)
The total amount of time that Kinesis Data Firehose spends on retries. This duration starts after the initial attempt to send data to the custom destination via HTTPS endpoint fails. It doesn't include the periods during which Kinesis Data Firehose waits for acknowledgment from the specified destination after each attempt.
durationInSeconds
- The total amount of time that Kinesis Data Firehose spends on retries. This duration starts after the
initial attempt to send data to the custom destination via HTTPS endpoint fails. It doesn't include the
periods during which Kinesis Data Firehose waits for acknowledgment from the specified destination after
each attempt.public Integer getDurationInSeconds()
The total amount of time that Kinesis Data Firehose spends on retries. This duration starts after the initial attempt to send data to the custom destination via HTTPS endpoint fails. It doesn't include the periods during which Kinesis Data Firehose waits for acknowledgment from the specified destination after each attempt.
public HttpEndpointRetryOptions withDurationInSeconds(Integer durationInSeconds)
The total amount of time that Kinesis Data Firehose spends on retries. This duration starts after the initial attempt to send data to the custom destination via HTTPS endpoint fails. It doesn't include the periods during which Kinesis Data Firehose waits for acknowledgment from the specified destination after each attempt.
durationInSeconds
- The total amount of time that Kinesis Data Firehose spends on retries. This duration starts after the
initial attempt to send data to the custom destination via HTTPS endpoint fails. It doesn't include the
periods during which Kinesis Data Firehose waits for acknowledgment from the specified destination after
each attempt.public String toString()
toString
in class Object
Object.toString()
public HttpEndpointRetryOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.