@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MemoryConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Details of the memory configuration.
Constructor and Description |
---|
MemoryConfiguration() |
Modifier and Type | Method and Description |
---|---|
MemoryConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEnabledMemoryTypes()
The type of memory that is stored.
|
Integer |
getStorageDays()
The number of days the agent is configured to retain the conversational context.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabledMemoryTypes(Collection<String> enabledMemoryTypes)
The type of memory that is stored.
|
void |
setStorageDays(Integer storageDays)
The number of days the agent is configured to retain the conversational context.
|
String |
toString()
Returns a string representation of this object.
|
MemoryConfiguration |
withEnabledMemoryTypes(Collection<String> enabledMemoryTypes)
The type of memory that is stored.
|
MemoryConfiguration |
withEnabledMemoryTypes(MemoryType... enabledMemoryTypes)
The type of memory that is stored.
|
MemoryConfiguration |
withEnabledMemoryTypes(String... enabledMemoryTypes)
The type of memory that is stored.
|
MemoryConfiguration |
withStorageDays(Integer storageDays)
The number of days the agent is configured to retain the conversational context.
|
public List<String> getEnabledMemoryTypes()
The type of memory that is stored.
MemoryType
public void setEnabledMemoryTypes(Collection<String> enabledMemoryTypes)
The type of memory that is stored.
enabledMemoryTypes
- The type of memory that is stored.MemoryType
public MemoryConfiguration withEnabledMemoryTypes(String... enabledMemoryTypes)
The type of memory that is stored.
NOTE: This method appends the values to the existing list (if any). Use
setEnabledMemoryTypes(java.util.Collection)
or withEnabledMemoryTypes(java.util.Collection)
if
you want to override the existing values.
enabledMemoryTypes
- The type of memory that is stored.MemoryType
public MemoryConfiguration withEnabledMemoryTypes(Collection<String> enabledMemoryTypes)
The type of memory that is stored.
enabledMemoryTypes
- The type of memory that is stored.MemoryType
public MemoryConfiguration withEnabledMemoryTypes(MemoryType... enabledMemoryTypes)
The type of memory that is stored.
enabledMemoryTypes
- The type of memory that is stored.MemoryType
public void setStorageDays(Integer storageDays)
The number of days the agent is configured to retain the conversational context.
storageDays
- The number of days the agent is configured to retain the conversational context.public Integer getStorageDays()
The number of days the agent is configured to retain the conversational context.
public MemoryConfiguration withStorageDays(Integer storageDays)
The number of days the agent is configured to retain the conversational context.
storageDays
- The number of days the agent is configured to retain the conversational context.public String toString()
toString
in class Object
Object.toString()
public MemoryConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.