public PipeSourceDynamoDBStreamParameters withMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds) {
        setMaximumRecordAgeInSeconds(maximumRecordAgeInSeconds);
        return this;
    }
<p>
(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, EventBridge never discards old records.
</p>

@param maximumRecordAgeInSeconds
       (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, EventBridge never discards old records.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pipes/src/main/java/com/amazonaws/services/pipes/model/PipeSourceDynamoDBStreamParameters.java