@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonOpenSearchServerlessRetryOptions extends Object implements Serializable, Cloneable, StructuredPojo
Configures retry behavior in case Firehose is unable to deliver documents to the Serverless offering for Amazon OpenSearch Service.
Constructor and Description |
---|
AmazonOpenSearchServerlessRetryOptions() |
Modifier and Type | Method and Description |
---|---|
AmazonOpenSearchServerlessRetryOptions |
clone() |
boolean |
equals(Object obj) |
Integer |
getDurationInSeconds()
After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total amount of
time during which Firehose retries delivery (including the first attempt).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDurationInSeconds(Integer durationInSeconds)
After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total amount of
time during which Firehose retries delivery (including the first attempt).
|
String |
toString()
Returns a string representation of this object.
|
AmazonOpenSearchServerlessRetryOptions |
withDurationInSeconds(Integer durationInSeconds)
After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total amount of
time during which Firehose retries delivery (including the first attempt).
|
public AmazonOpenSearchServerlessRetryOptions()
public void setDurationInSeconds(Integer durationInSeconds)
After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total amount of time during which Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries.
durationInSeconds
- After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total
amount of time during which Firehose retries delivery (including the first attempt). After this time has
elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value
of 0 (zero) results in no retries.public Integer getDurationInSeconds()
After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total amount of time during which Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries.
public AmazonOpenSearchServerlessRetryOptions withDurationInSeconds(Integer durationInSeconds)
After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total amount of time during which Firehose retries delivery (including the first attempt). After this time has elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value of 0 (zero) results in no retries.
durationInSeconds
- After an initial failure to deliver to the Serverless offering for Amazon OpenSearch Service, the total
amount of time during which Firehose retries delivery (including the first attempt). After this time has
elapsed, the failed documents are written to Amazon S3. Default value is 300 seconds (5 minutes). A value
of 0 (zero) results in no retries.public String toString()
toString
in class Object
Object.toString()
public AmazonOpenSearchServerlessRetryOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.