public AmazonopensearchserviceDestinationDescription withIndexRotationPeriod(AmazonopensearchserviceIndexRotationPeriod indexRotationPeriod) {
        this.indexRotationPeriod = indexRotationPeriod.toString();
        return this;
    }
<p>
The Amazon OpenSearch Service index rotation period
</p>

@param indexRotationPeriod
       The Amazon OpenSearch Service index rotation period
@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/AmazonopensearchserviceDestinationDescription.java