@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppInstanceRetentionSettings extends Object implements Serializable, Cloneable, StructuredPojo
The details of the data-retention settings for an AppInstance
.
Constructor and Description |
---|
AppInstanceRetentionSettings() |
Modifier and Type | Method and Description |
---|---|
AppInstanceRetentionSettings |
clone() |
boolean |
equals(Object obj) |
ChannelRetentionSettings |
getChannelRetentionSettings()
The length of time in days to retain the messages in a channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelRetentionSettings(ChannelRetentionSettings channelRetentionSettings)
The length of time in days to retain the messages in a channel.
|
String |
toString()
Returns a string representation of this object.
|
AppInstanceRetentionSettings |
withChannelRetentionSettings(ChannelRetentionSettings channelRetentionSettings)
The length of time in days to retain the messages in a channel.
|
public void setChannelRetentionSettings(ChannelRetentionSettings channelRetentionSettings)
The length of time in days to retain the messages in a channel.
channelRetentionSettings
- The length of time in days to retain the messages in a channel.public ChannelRetentionSettings getChannelRetentionSettings()
The length of time in days to retain the messages in a channel.
public AppInstanceRetentionSettings withChannelRetentionSettings(ChannelRetentionSettings channelRetentionSettings)
The length of time in days to retain the messages in a channel.
channelRetentionSettings
- The length of time in days to retain the messages in a channel.public String toString()
toString
in class Object
Object.toString()
public AppInstanceRetentionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.