public Interval withCalendarInterval(CalendarInterval calendarInterval) {
        setCalendarInterval(calendarInterval);
        return this;
    }
<p>
If the interval is a calendar interval, this structure contains the interval specifications.
</p>

@param calendarInterval
       If the interval is a calendar 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