@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetentionProperties extends Object implements Serializable, Cloneable, StructuredPojo
Retention properties contain the duration for which your time series data must be stored in the magnetic store and the memory store.
Constructor and Description |
---|
RetentionProperties() |
Modifier and Type | Method and Description |
---|---|
RetentionProperties |
clone() |
boolean |
equals(Object obj) |
Long |
getMagneticStoreRetentionPeriodInDays()
The duration for which data must be stored in the magnetic store.
|
Long |
getMemoryStoreRetentionPeriodInHours()
The duration for which data must be stored in the memory store.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMagneticStoreRetentionPeriodInDays(Long magneticStoreRetentionPeriodInDays)
The duration for which data must be stored in the magnetic store.
|
void |
setMemoryStoreRetentionPeriodInHours(Long memoryStoreRetentionPeriodInHours)
The duration for which data must be stored in the memory store.
|
String |
toString()
Returns a string representation of this object.
|
RetentionProperties |
withMagneticStoreRetentionPeriodInDays(Long magneticStoreRetentionPeriodInDays)
The duration for which data must be stored in the magnetic store.
|
RetentionProperties |
withMemoryStoreRetentionPeriodInHours(Long memoryStoreRetentionPeriodInHours)
The duration for which data must be stored in the memory store.
|
public void setMemoryStoreRetentionPeriodInHours(Long memoryStoreRetentionPeriodInHours)
The duration for which data must be stored in the memory store.
memoryStoreRetentionPeriodInHours
- The duration for which data must be stored in the memory store.public Long getMemoryStoreRetentionPeriodInHours()
The duration for which data must be stored in the memory store.
public RetentionProperties withMemoryStoreRetentionPeriodInHours(Long memoryStoreRetentionPeriodInHours)
The duration for which data must be stored in the memory store.
memoryStoreRetentionPeriodInHours
- The duration for which data must be stored in the memory store.public void setMagneticStoreRetentionPeriodInDays(Long magneticStoreRetentionPeriodInDays)
The duration for which data must be stored in the magnetic store.
magneticStoreRetentionPeriodInDays
- The duration for which data must be stored in the magnetic store.public Long getMagneticStoreRetentionPeriodInDays()
The duration for which data must be stored in the magnetic store.
public RetentionProperties withMagneticStoreRetentionPeriodInDays(Long magneticStoreRetentionPeriodInDays)
The duration for which data must be stored in the magnetic store.
magneticStoreRetentionPeriodInDays
- The duration for which data must be stored in the magnetic store.public String toString()
toString
in class Object
Object.toString()
public RetentionProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.