@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public RoomRetentionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.