public ContainerDefinition withWorkingDirectory(String workingDirectory) {
        setWorkingDirectory(workingDirectory);
        return this;
    }
<p>
The directory in the container where commands are run. See the <a href=
"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-workingDirectory"
>ContainerDefinition::workingDirectory</a> parameter in the <i>Amazon Elastic Container Service API
Reference</i>.
</p>

@param workingDirectory
       The directory in the container where commands are run. See the <a href=
       "https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-workingDirectory"
       >ContainerDefinition::workingDirectory</a> parameter in the <i>Amazon Elastic Container Service API
       Reference</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/ContainerDefinition.java