public void setMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds) {
        this.maximumRecordAgeInSeconds = maximumRecordAgeInSeconds;
    }
<p>
(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is infinite
(-1).
</p>

@param maximumRecordAgeInSeconds
       (Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is
       infinite (-1).
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/UpdateEventSourceMappingRequest.java