public AttemptDetail withContainer(AttemptContainerDetail container) {
        setContainer(container);
        return this;
    }
<p>
The details for the container in this job attempt.
</p>

@param container
       The details for the container in this job attempt.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/AttemptDetail.java