public AppAssessmentSummary withCost(Cost cost) {
        setCost(cost);
        return this;
    }
<p>
Cost for an application.
</p>

@param cost
       Cost for an application.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/AppAssessmentSummary.java