@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RoomRetentionSettings extends Object implements Serializable, Cloneable, StructuredPojo
The retention settings that determine how long to retain chat room messages for an Amazon Chime Enterprise account.
| Constructor and Description |
|---|
RoomRetentionSettings() |
| Modifier and Type | Method and Description |
|---|---|
RoomRetentionSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getRetentionDays()
The number of days for which to retain chat room messages.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRetentionDays(Integer retentionDays)
The number of days for which to retain chat room messages.
|
String |
toString()
Returns a string representation of this object.
|
RoomRetentionSettings |
withRetentionDays(Integer retentionDays)
The number of days for which to retain chat room messages.
|
public void setRetentionDays(Integer retentionDays)
The number of days for which to retain chat room messages.
retentionDays - The number of days for which to retain chat room messages.public Integer getRetentionDays()
The number of days for which to retain chat room messages.
public RoomRetentionSettings withRetentionDays(Integer retentionDays)
The number of days for which to retain chat room messages.
retentionDays - The number of days for which to retain chat room messages.public String toString()
toString in class ObjectObject.toString()public RoomRetentionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.