public ProductCode withProductCodeMode(ProductCodeMode productCodeMode) {
        this.productCodeMode = productCodeMode.toString();
        return this;
    }
<p>
Mode of a product code associated with a volume.
</p>

@param productCodeMode
       Mode of a product code associated with a volume.
@return Returns a reference to this object so that method calls can be chained together.
@see ProductCodeMode
aws-java-sdk-drs/src/main/java/com/amazonaws/services/drs/model/ProductCode.java