@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 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 conversation messages.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRetentionDays(Integer retentionDays)
The number of days for which to retain conversation messages.
|
String |
toString()
Returns a string representation of this object.
|
ConversationRetentionSettings |
withRetentionDays(Integer retentionDays)
The number of days for which to retain conversation messages.
|
public void setRetentionDays(Integer retentionDays)
The number of days for which to retain conversation messages.
retentionDays
- The number of days for which to retain conversation messages.public Integer getRetentionDays()
The number of days for which to retain conversation messages.
public ConversationRetentionSettings withRetentionDays(Integer retentionDays)
The number of days for which to retain conversation messages.
retentionDays
- The number of days for which to retain conversation messages.public String toString()
toString
in class Object
Object.toString()
public ConversationRetentionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.