@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BufferOptions extends Object implements Serializable, Cloneable, StructuredPojo
Options that specify the configuration of a persistent buffer. To configure how OpenSearch Ingestion encrypts this
data, set the EncryptionAtRestOptions. For more information, see Persistent buffering.
| Constructor and Description |
|---|
BufferOptions() |
| Modifier and Type | Method and Description |
|---|---|
BufferOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getPersistentBufferEnabled()
Whether persistent buffering should be enabled.
|
int |
hashCode() |
Boolean |
isPersistentBufferEnabled()
Whether persistent buffering should be enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPersistentBufferEnabled(Boolean persistentBufferEnabled)
Whether persistent buffering should be enabled.
|
String |
toString()
Returns a string representation of this object.
|
BufferOptions |
withPersistentBufferEnabled(Boolean persistentBufferEnabled)
Whether persistent buffering should be enabled.
|
public void setPersistentBufferEnabled(Boolean persistentBufferEnabled)
Whether persistent buffering should be enabled.
persistentBufferEnabled - Whether persistent buffering should be enabled.public Boolean getPersistentBufferEnabled()
Whether persistent buffering should be enabled.
public BufferOptions withPersistentBufferEnabled(Boolean persistentBufferEnabled)
Whether persistent buffering should be enabled.
persistentBufferEnabled - Whether persistent buffering should be enabled.public Boolean isPersistentBufferEnabled()
Whether persistent buffering should be enabled.
public String toString()
toString in class ObjectObject.toString()public BufferOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.