public GetScalingConfigurationRecommendationRequest withScalingPolicyObjective(ScalingPolicyObjective scalingPolicyObjective) {
        setScalingPolicyObjective(scalingPolicyObjective);
        return this;
    }
<p>
An object where you specify the anticipated traffic pattern for an endpoint.
</p>

@param scalingPolicyObjective
       An object where you specify the anticipated traffic pattern for an endpoint.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/GetScalingConfigurationRecommendationRequest.java