public GetRecommendationResult withCurrentResourceType(ResourceType currentResourceType) {
        this.currentResourceType = currentResourceType.toString();
        return this;
    }
<p>
The type of resource.
</p>

@param currentResourceType
       The type of resource.
@return Returns a reference to this object so that method calls can be chained together.
@see ResourceType
aws-java-sdk-costoptimizationhub/src/main/java/com/amazonaws/services/costoptimizationhub/model/GetRecommendationResult.java