public EcsContainerOverride withCpu(Integer cpu) {
        setCpu(cpu);
        return this;
    }
<p>
The number of <code>cpu</code> units reserved for the container, instead of the default value from the task
definition. You must also specify a container name.
</p>

@param cpu
       The number of <code>cpu</code> units reserved for the container, instead of the default value from the
       task definition. You must also specify a container name.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pipes/src/main/java/com/amazonaws/services/pipes/model/EcsContainerOverride.java