public CreateProfilingGroupRequest withComputePlatform(String computePlatform) {
        setComputePlatform(computePlatform);
        return this;
    }
<p>
The compute platform of the profiling group. Use <code>AWSLambda</code> if your application runs on AWS Lambda.
Use <code>Default</code> if your application runs on a compute platform that is not AWS Lambda, such an Amazon
EC2 instance, an on-premises server, or a different platform. If not specified, <code>Default</code> is used.
</p>

@param computePlatform
       The compute platform of the profiling group. Use <code>AWSLambda</code> if your application runs on AWS
       Lambda. Use <code>Default</code> if your application runs on a compute platform that is not AWS Lambda,
       such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified,
       <code>Default</code> is used.
@return Returns a reference to this object so that method calls can be chained together.
@see ComputePlatform
aws-java-sdk-codeguruprofiler/src/main/java/com/amazonaws/services/codeguruprofiler/model/CreateProfilingGroupRequest.java