public UpdatePricingRuleRequest withType(PricingRuleType type) {
        this.type = type.toString();
        return this;
    }
<p>
The new pricing rule type.
</p>

@param type
       The new pricing rule type.
@return Returns a reference to this object so that method calls can be chained together.
@see PricingRuleType
aws-java-sdk-billingconductor/src/main/java/com/amazonaws/services/billingconductor/model/UpdatePricingRuleRequest.java