public DeregisterContainerInstanceResult withContainerInstance(ContainerInstance containerInstance) {
        setContainerInstance(containerInstance);
        return this;
    }
<p>
The container instance that was deregistered.
</p>

@param containerInstance
       The container instance that was deregistered.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/DeregisterContainerInstanceResult.java