public ModifyDBInstanceRequest withPromotionTier(Integer promotionTier) {
        setPromotionTier(promotionTier);
        return this;
    }
<p>
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after
a failure of the existing primary instance.
</p>
<p>
Default: 1
</p>
<p>
Valid values: 0-15
</p>

@param promotionTier
       A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance
       after a failure of the existing primary instance.</p>
       <p>
       Default: 1
       </p>
       <p>
       Valid values: 0-15
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/ModifyDBInstanceRequest.java