@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetentionSettings extends Object implements Serializable, Cloneable, StructuredPojo
The retention settings for an Amazon Chime Enterprise account that determine how long to retain items such as chat-room messages and chat-conversation messages.
| Constructor and Description |
|---|
RetentionSettings() |
| Modifier and Type | Method and Description |
|---|---|
RetentionSettings |
clone() |
boolean |
equals(Object obj) |
ConversationRetentionSettings |
getConversationRetentionSettings()
The chat conversation retention settings.
|
RoomRetentionSettings |
getRoomRetentionSettings()
The chat room retention settings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConversationRetentionSettings(ConversationRetentionSettings conversationRetentionSettings)
The chat conversation retention settings.
|
void |
setRoomRetentionSettings(RoomRetentionSettings roomRetentionSettings)
The chat room retention settings.
|
String |
toString()
Returns a string representation of this object.
|
RetentionSettings |
withConversationRetentionSettings(ConversationRetentionSettings conversationRetentionSettings)
The chat conversation retention settings.
|
RetentionSettings |
withRoomRetentionSettings(RoomRetentionSettings roomRetentionSettings)
The chat room retention settings.
|
public void setRoomRetentionSettings(RoomRetentionSettings roomRetentionSettings)
The chat room retention settings.
roomRetentionSettings - The chat room retention settings.public RoomRetentionSettings getRoomRetentionSettings()
The chat room retention settings.
public RetentionSettings withRoomRetentionSettings(RoomRetentionSettings roomRetentionSettings)
The chat room retention settings.
roomRetentionSettings - The chat room retention settings.public void setConversationRetentionSettings(ConversationRetentionSettings conversationRetentionSettings)
The chat conversation retention settings.
conversationRetentionSettings - The chat conversation retention settings.public ConversationRetentionSettings getConversationRetentionSettings()
The chat conversation retention settings.
public RetentionSettings withConversationRetentionSettings(ConversationRetentionSettings conversationRetentionSettings)
The chat conversation retention settings.
conversationRetentionSettings - The chat conversation retention settings.public String toString()
toString in class ObjectObject.toString()public RetentionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.