public AmazonopensearchserviceDestinationConfiguration withIndexRotationPeriod(String indexRotationPeriod) {
        setIndexRotationPeriod(indexRotationPeriod);
        return this;
    }
<p>
The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to the IndexName to
facilitate the expiration of old data.
</p>

@param indexRotationPeriod
       The Amazon OpenSearch Service index rotation period. Index rotation appends a timestamp to the IndexName
       to facilitate the expiration of old data.
@return Returns a reference to this object so that method calls can be chained together.
@see AmazonopensearchserviceIndexRotationPeriod
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/AmazonopensearchserviceDestinationConfiguration.java