public Interval withRollingInterval(RollingInterval rollingInterval) {
        setRollingInterval(rollingInterval);
        return this;
    }
<p>
If the interval is a rolling interval, this structure contains the interval specifications.
</p>

@param rollingInterval
       If the interval is a rolling interval, this structure contains the interval specifications.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-applicationsignals/src/main/java/com/amazonaws/services/applicationsignals/model/Interval.java