@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConversationRetentionSettings extends Object implements Serializable, Cloneable, StructuredPojo
The retention settings that determine how long to retain chat conversation messages for an Amazon Chime Enterprise account.
Constructor and Description |
---|
ConversationRetentionSettings() |
Modifier and Type | Method and Description |
---|---|
ConversationRetentionSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getRetentionDays()
The number of days for which to retain chat conversation messages.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRetentionDays(Integer retentionDays)
The number of days for which to retain chat conversation messages.
|
String |
toString()
Returns a string representation of this object.
|
ConversationRetentionSettings |
withRetentionDays(Integer retentionDays)
The number of days for which to retain chat conversation messages.
|
public void setRetentionDays(Integer retentionDays)
The number of days for which to retain chat conversation messages.
retentionDays
- The number of days for which to retain chat conversation messages.public Integer getRetentionDays()
The number of days for which to retain chat conversation messages.
public ConversationRetentionSettings withRetentionDays(Integer retentionDays)
The number of days for which to retain chat conversation messages.
retentionDays
- The number of days for which to retain chat conversation messages.public String toString()
toString
in class Object
Object.toString()
public ConversationRetentionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.