public Integer getMaximumRecordAgeInSeconds() {
        return this.maximumRecordAgeInSeconds;
    }
<p>
(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, which
sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.
</p>
<note>
<p>
The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall
within the parameter's absolute range, they are not allowed
</p>
</note>

@return (Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is
        -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old
        records.</p> <note>
        <p>
        The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1
        fall within the parameter's absolute range, they are not allowed
        </p>
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/GetEventSourceMappingResult.java