public SentimentConfiguration withTimePeriod(Integer timePeriod) {
        setTimePeriod(timePeriod);
        return this;
    }
<p>
Specifies the analysis interval.
</p>

@param timePeriod
       Specifies the analysis interval.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chimesdkmediapipelines/src/main/java/com/amazonaws/services/chimesdkmediapipelines/model/SentimentConfiguration.java