public Optional<ContainerStatePatch> lastState() {
        return Optional.ofNullable(this.lastState);
    }
@return LastTerminationState holds the last termination state of the container to help debug container crashes and restarts. This field is not populated if the container is still running and RestartCount is 0.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/ContainerStatusPatch.java