public ReservedInstance withPaymentOption(String paymentOption) {
        setPaymentOption(paymentOption);
        return this;
    }
<p>
The payment option as defined in the Reserved Instance offering.
</p>

@param paymentOption
       The payment option as defined in the Reserved Instance offering.
@return Returns a reference to this object so that method calls can be chained together.
@see ReservedInstancePaymentOption
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/ReservedInstance.java